veryl icon indicating copy to clipboard operation
veryl copied to clipboard

Veryl: A Modern Hardware Description Language

Results 86 veryl issues
Sort by recently updated
recently updated
newest added

Consider ```systemverilog module test ( input [2:0] onehot, output logic [1:0] idx ); always_comb begin case (onehot) 3'b001: idx = 2'b01; 3'b010: idx = 2'b10; 3'b100: idx = 2'b11; endcase...

lang

考えがちゃんとまとまっていないので、日本語で。 virtual function であれば関数の引数にすることとができるが、それでは RTL 中で使えない。 * 合成できるか不明 * `always_comb` とかで使う際に、イベントを推定できない(と思う) Veryl 上で、interface を引数に取る関数を定義した場合、SV に出力する際に interface 中の各信号を引数に取る関数定義に書き換えてやればよい。 例えば、以下のようなコードの場合、 ```systemverilog interface foo_if #( param WIDTH: u32 = 8. ){ var ready:...

lang

Currently, Veryl does not report `unused_variable` error for a variable referred as LHS only like below. ![image](https://github.com/user-attachments/assets/aa92f89b-0336-499c-a112-c59c45ab89fc) Should Veryl report the error for this?

bug

Combinational loop should be resolved but Veryl does not check it. ![image](https://github.com/user-attachments/assets/a3aaf167-7094-4f29-b343-5b77c9a0f030)

tools

Should Veryl add `automatic` lifetime modifier to variables declared in statement block within `always_ff`/always_comb` statement? refs: https://github.com/veryl-lang/veryl/issues/919#issuecomment-2323581787

tools

If interface can have interface instances as the member, interface composition can be achived like below. Syntax and use case should be more considerd. ```systemverilog interface Read { } interface...

lang