Update always_statement.rs
This commit is contained in:
parent
371991accf
commit
de4572d8fc
|
@ -258,7 +258,11 @@ impl AlwaysStatement {
|
||||||
let eq = builder.ins().eq(prb, zero);
|
let eq = builder.ins().eq(prb, zero);
|
||||||
(String::from("negedge"), builder.ins().and(neq, eq))
|
(String::from("negedge"), builder.ins().and(neq, eq))
|
||||||
}
|
}
|
||||||
_ => (String::from("impledge"), builder.ins().neq(prb_init, prb)),
|
_ => {
|
||||||
|
let _neq = builder.ins().neq(prb_init, prb);
|
||||||
|
context.syntax_table.insert_value(builder.unit(), _neq, json);
|
||||||
|
(String::from("impledge"), builder.ins().neq(prb_init, prb))
|
||||||
|
}
|
||||||
};
|
};
|
||||||
if i > 0 {
|
if i > 0 {
|
||||||
n = format!("{}{}", n, i);
|
n = format!("{}{}", n, i);
|
||||||
|
|
Loading…
Reference in New Issue