diff options
author | Bert Lange <b.lange@hzdr.de> | 2012-03-15 16:08:39 +0100 |
---|---|---|
committer | Bert Lange <b.lange@hzdr.de> | 2012-03-15 16:08:39 +0100 |
commit | c00bbd86599425afabf6c0d2d5bce158a4fd5934 (patch) | |
tree | 9f8807992b443e8748ff8959fd9f033fb702e1d4 /test_rrobin_problem/rtl | |
parent | d67c0e209e43b55141d5e2221df524df87182e7f (diff) | |
download | zpu-c00bbd86599425afabf6c0d2d5bce158a4fd5934.zip zpu-c00bbd86599425afabf6c0d2d5bce158a4fd5934.tar.gz |
fix: tristate on header pins outputs
Diffstat (limited to 'test_rrobin_problem/rtl')
-rw-r--r-- | test_rrobin_problem/rtl/top.vhd | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/test_rrobin_problem/rtl/top.vhd b/test_rrobin_problem/rtl/top.vhd index efdf968..16a6fa8 100644 --- a/test_rrobin_problem/rtl/top.vhd +++ b/test_rrobin_problem/rtl/top.vhd @@ -507,9 +507,17 @@ begin ------------------------------------------------------------ -- gpio output pads -- placement on board: LED0, LED1, LED2, LED3 - gpio_led <= box_i0_gpioo.dout( 3 downto 0); - gpio_header_ls <= box_i0_gpioo.dout(15 downto 8); - fpga_awake <= not box_i0_gpioo.dout( 0); + gpio_led <= box_i0_gpioo.dout( 3 downto 0); + --gpio_header_ls <= box_i0_gpioo.dout(15 downto 8); + gpio_header_ls(0) <= box_i0_gpioo.dout( 8) when box_i0_gpioo.oen( 8) = '0' else 'Z'; + gpio_header_ls(1) <= box_i0_gpioo.dout( 9) when box_i0_gpioo.oen( 9) = '0' else 'Z'; + gpio_header_ls(2) <= box_i0_gpioo.dout(10) when box_i0_gpioo.oen(10) = '0' else 'Z'; + gpio_header_ls(3) <= box_i0_gpioo.dout(11) when box_i0_gpioo.oen(11) = '0' else 'Z'; + gpio_header_ls(4) <= box_i0_gpioo.dout(12) when box_i0_gpioo.oen(12) = '0' else 'Z'; + gpio_header_ls(5) <= box_i0_gpioo.dout(13) when box_i0_gpioo.oen(13) = '0' else 'Z'; + gpio_header_ls(6) <= box_i0_gpioo.dout(14) when box_i0_gpioo.oen(14) = '0' else 'Z'; + gpio_header_ls(7) <= box_i0_gpioo.dout(15) when box_i0_gpioo.oen(15) = '0' else 'Z'; + fpga_awake <= not box_i0_gpioo.dout( 0); ------------------------------------------------------------ |