Skip to content

Commit ddb141f

Browse files
committed
Fix FPGA build
1 parent ef25033 commit ddb141f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

cpu/buffer.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module tinyqv_buffer (
1111
/* verilator lint_off ASSIGNDLY */
1212
buf #1 i_buf (X, A);
1313
/* verilator lint_on ASSIGNDLY */
14-
`elsif ICE40
14+
`elsif SYNTH_FPGA
1515
assign X = A;
1616
`elsif SCL_sky130_fd_sc_hd
1717
/* verilator lint_off PINMISSING */

pico_ice/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pico_ice:
1111
#verilator --lint-only -Wall -Wno-DECLFILENAME -Wno-MULTITOP $(FILES)
1212

1313
# synthesize using Yosys
14-
yosys -p "synth_ice40 -abc9 -device u -top tinyQV_top -json $(PROJ).json" -DICE40 $(FILES) > yosys.log
14+
yosys -p "synth_ice40 -abc9 -device u -top tinyQV_top -json $(PROJ).json" -DICE40 -DSYNTH_FPGA $(FILES) > yosys.log
1515
@grep Warn yosys.log || true
1616
@grep Error yosys.log || true
1717
@egrep "[0-9]+ submodules" yosys.log | head -1

pico_ice/pico_ice.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

6-
`define default_netname none
6+
`default_nettype none
77

88
module tinyQV_top (
99
input clk,

0 commit comments

Comments
 (0)