first commit
This commit is contained in:
14
run.ps1
Normal file
14
run.ps1
Normal file
@@ -0,0 +1,14 @@
|
||||
param(
|
||||
[Parameter(Mandatory=$true)]
|
||||
[string]$module
|
||||
)
|
||||
|
||||
$module = $module.TrimStart('.', '/', '\').TrimEnd('/', '\')
|
||||
|
||||
iverilog -o ".\$module\$module.vvp" ".\$module\${module}_tb.v"
|
||||
if ($LASTEXITCODE -ne 0) { exit 1 }
|
||||
|
||||
vvp ".\$module\$module.vvp"
|
||||
if ($LASTEXITCODE -ne 0) { exit 1 }
|
||||
|
||||
gtkwave ".\$module\$module.vcd"
|
||||
Reference in New Issue
Block a user