Created
September 29, 2017 08:51
-
-
Save cr1901/2a2a3ef162b2a83238a19b9e0dc832e6 to your computer and use it in GitHub Desktop.
Known-to-fail MVCE for arachne-pnr Pullup instantiation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem Autogenerated by Migen | |
yosys -q -l top.rpt top.ys || exit /b | |
arachne-pnr -d 1k -P tq144 -p top.pcf top.blif -o top.txt || exit /b | |
icetime -P tq144 -d hx1k -c 0.0 -t -p top.pcf -r top.tim top.txt || exit /b | |
icepack top.txt top.bin || exit /b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set_io clk12 21 | |
set_io my_out 44 | |
set_io my_pullup 119 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Machine-generated using Migen */ | |
module top( | |
input clk12, | |
inout my_pullup, | |
output my_out, | |
); | |
SB_IO #( | |
.PIN_TYPE(1'd0), | |
.PULLUP(1'd1) | |
) SB_IO ( | |
.INPUT_CLK(clk12), | |
.PACKAGE_PIN(my_pullup), | |
.D_IN_0(my_out) | |
); | |
endmodule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
read_verilog top.v | |
synth_ice40 -top top -blif top.blif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment