Small cosmetic fix - replace 'if' to 'and'

This commit is contained in:
Nikolay Puzanov
2022-07-12 18:51:40 +03:00
parent 2c8c60429c
commit fa1170eb59
2 changed files with 21 additions and 25 deletions

View File

@@ -8,12 +8,10 @@
(utest/tb
((format "log2_~a" arg))
(if (utest/iverilog-compile-vpi "vpi_log2.c" #:name top #:libs "m")
(utest/run-simulation-iverilog
"vpi_log2.sv"
top
#:parameters `((ARGUMENT ,arg))
#:vpimods top)
#f)))
(and (utest/iverilog-compile-vpi "vpi_log2.c" #:name top #:libs "m")
(utest/run-simulation-iverilog
"vpi_log2.sv"
top
#:parameters `((ARGUMENT ,arg))
#:vpimods top))))
(iota 20)))