Forum Discussion
vraj12
New Contributor
4 years agoSV assertions not honored?
i have a simple sv code, which has assertions
module top(input [2:0] in1, input [2:0] in2, output [3:0] out1, input clk); parameter p1 = 4; parameter p2 = 5; reg [3:0] out1_reg; always @(posedg...
sstrell
Super Contributor
4 years agoWhat are you expecting? assert is used for simulation, not synthesis.
- vraj124 years ago
New Contributor
In the snippet it is mentioned as supported and it does not say ignored by synthesis, was expecting it prints out the message in log.
Immediate assertion is similar to if statements, so was expecting some logic is generated