Skip to content

Commit 0b719cd

Browse files
GHDL doesn't strip asserts for synth
1 parent f493316 commit 0b719cd

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

hdl/ip/vhd/spi/axi_controller/spi_axi_pkg.vhd

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ package body spi_axi_pkg is
7070
when spi_opcode_bit_clr =>
7171
return rdata and (not wdata);
7272
when others =>
73-
assert false report "not a bit operation opcode" severity failure;
73+
return rdata;
7474
end case;
7575

7676
end function;

hdl/ip/vhd/spi/axi_controller/spi_axi_sms.vhd

-2
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,6 @@ begin
215215
v.state := OPCODE;
216216
v.opcode := (others => '0');
217217
v.req_addr := (others => '0');
218-
219-
-- TODO: any more clearing needed?
220218
end if;
221219

222220
spi_rin <= v;

0 commit comments

Comments
 (0)