Skip to content

Commit

Permalink
fix #118
Browse files Browse the repository at this point in the history
  • Loading branch information
soronpo committed May 10, 2024
1 parent 6fd35e8 commit c507e69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class VHDLPrinter(using val getSet: MemberGetSet, val printerOptions: PrinterOpt
|end;
|function signed_sra(A : signed; num_shifts : unsigned) return signed is
|begin
| return signed(unsigned(A) sra to_integer(num_shifts));
| return shift_right(A, to_integer(num_shifts));
|end;
|end package body ${printer.packageName};
|""".stripMargin
Expand Down

0 comments on commit c507e69

Please sign in to comment.