File tree 3 files changed +7
-5
lines changed
3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 2
2
sim_build /
3
3
__pycache__ /
4
4
5
+ /build /
5
6
/poly94.json
6
7
/results.xml
7
8
* .bit
Original file line number Diff line number Diff line change 63
63
64
64
65
65
ulx3s.bit : boot/boot.vh ulx3s_out.config
66
- ecpbram --from boot /boot_syn.vh --to boot/boot.vh --in ulx3s_out.config --out ulx3s_final.config
66
+ ecpbram --from build /boot_syn.vh --to boot/boot.vh --in ulx3s_out.config --out ulx3s_final.config
67
67
ecppack ulx3s_final.config ulx3s.bit
68
68
69
69
ulx3s_out.config : poly94.json ulx3s_v20.lpf
@@ -74,8 +74,9 @@ ulx3s_out.config: poly94.json ulx3s_v20.lpf
74
74
--report build/nextpnr-report.json \
75
75
2>&1 | tee nextpnr.log
76
76
77
- boot/boot_syn.vh :
78
- ecpbram --generate boot/boot_syn.vh --width 32 --depth 1024 --seed 0
77
+ build/boot_syn.vh :
78
+ mkdir -p build
79
+ ecpbram --generate build/boot_syn.vh --width 32 --depth 1024 --seed 0
79
80
80
81
poly94.json : poly94.ys \
81
82
lib/verilog-uart/rtl/uart_rx.v \
@@ -98,7 +99,7 @@ poly94.json: poly94.ys \
98
99
rtl/ecp5/ecp5pll.sv \
99
100
rtl/ip/sdram_pnru.v \
100
101
rtl/ip/VexRiscv.v \
101
- boot /boot_syn.vh
102
+ build /boot_syn.vh
102
103
yosys -m ghdl poly94.ys | tee yosys.log
103
104
104
105
prog : ulx3s.bit
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ module CPU_Rom(
12
12
initial
13
13
begin
14
14
`ifdef SYNTHESIS
15
- $readmemh (" boot /boot_syn.vh" , rom); // placeholder that is patched at later stage
15
+ $readmemh (" build /boot_syn.vh" , rom); // placeholder that is patched at later stage
16
16
// thus permitting ROM update without resynthesis
17
17
`else
18
18
$readmemh (" boot/boot.vh" , rom);
You can’t perform that action at this time.
0 commit comments