fix: workaround nextpnr-xilinx#42

This commit is contained in:
Xiretza 2022-07-14 14:18:49 +02:00
parent 3cbc47eb95
commit 327af10b6a

View file

@ -322,7 +322,17 @@ begin
pmod_a <= "00" & drivers(5 downto 0); pmod_a <= "00" & drivers(5 downto 0);
pmod_b <= "00" & drivers(11 downto 6); pmod_b <= "00" & drivers(11 downto 6);
pmod_c <= "00" & drivers(17 downto 12);
pmod_c(7) <= '0';
pmod_c(6) <= '0';
pmod_c(5) <= drivers(17);
pmod_c(4) <= drivers(16);
pmod_c(3) <= drivers(15);
pmod_c(2) <= drivers(14);
-- workaround for https://github.com/gatecat/nextpnr-xilinx/issues/42#issuecomment-1183525828
pmod_c(1) <= drivers(12);
pmod_c(0) <= drivers(13);
pmod_d <= "00" & drivers(23 downto 18); pmod_d <= "00" & drivers(23 downto 18);
sender: process(sys_clk) sender: process(sys_clk)