We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When compiling this file, gracefully provided by @adamwalker, Clash fails to produce usable SystemVerilog output:
vlog: FAIL (0.13s) Program /opt/intelFPGA_pro/18.1/modelsim_ase/bin/vlog failed with error-code 2. Stderr was: Stdout was: Model Technology ModelSim - Intel FPGA Edition vlog 10.6d Compiler 2018.02 Feb 24 2018 Start time: 14:11:37 on Apr 03,2019 vlog -sv -work work /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_types.sv /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_types.sv -- Compiling package AES_types -- Compiling module AES_topEntity -- Importing package AES_types ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(39): Failed to find the name 'array_of_8_logic' in scope 'AES_types' at /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_types.sv(1). ** Error: (vlog-13069) /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(39): near ";": syntax error, unexpected ';', expecting '('. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(40): Failed to find the name 'array_of_8_logic' in scope 'AES_types' at /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_types.sv(1). ** Error: (vlog-13069) /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(40): near ";": syntax error, unexpected ';', expecting '('. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(41): Failed to find the name 'array_of_8_logic' in scope 'AES_types' at /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_types.sv(1). ** Error: (vlog-13069) /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(41): near ";": syntax error, unexpected ';', expecting '('. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(43): Failed to find the name 'array_of_8_logic' in scope 'AES_types' at /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_types.sv(1). ** Error: (vlog-13069) /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(43): near ";": syntax error, unexpected ';', expecting '('. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(68): Failed to find the name 'array_of_8_logic' in scope 'AES_types' at /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_types.sv(1). ** Error: (vlog-13069) /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(68): near ";": syntax error, unexpected ';', expecting '('. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(72): Failed to find the name 'array_of_8_logic' in scope 'AES_types' at /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_types.sv(1). ** Error: (vlog-13069) /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(72): near ";": syntax error, unexpected ';', expecting '('. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(254): (vlog-2730) Undefined variable: 'result_2'. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(268): Failed to find the name 'array_of_8_logic' in scope 'AES_types' at /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_types.sv(1). ** Error: (vlog-13069) /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(268): near "=": syntax error, unexpected '=', expecting '('. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(271): (vlog-2730) Undefined variable: 'result_2_reg'. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(273): (vlog-2730) Undefined variable: 'result_2_reg'. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(273): (vlog-2730) Undefined variable: 'result_3'. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(276): (vlog-2730) Undefined variable: 'result_2_reg'. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(289): (vlog-2730) Undefined variable: 'result_3_sel_alt_res'. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(296): (vlog-2730) Undefined variable: 'result_3'. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(296): (vlog-2730) Undefined variable: 'result_3_sel_alt_res'. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(298): (vlog-2730) Undefined variable: 'result_4'. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(311): (vlog-2730) Undefined variable: 'c$app_arg'. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(325): Failed to find the name 'array_of_8_logic_from_lv' in scope 'AES_types' at /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_types.sv(1). ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(334): (vlog-2730) Undefined variable: 'c$app_arg'. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(350): (vlog-2730) Undefined variable: 'result_4'. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(558): Failed to find the name 'array_of_8_logic' in scope 'AES_types' at /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_types.sv(1). ** Error: (vlog-13069) /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(558): near ";": syntax error, unexpected ';', expecting '('. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(560): Failed to find the name 'array_of_8_logic' in scope 'AES_types' at /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_types.sv(1). ** Error: (vlog-13069) /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(560): near ";": syntax error, unexpected ';', expecting '('. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(562): Failed to find the name 'array_of_8_logic' in scope 'AES_types' at /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_types.sv(1). ** Error: (vlog-13069) /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(562): near ";": syntax error, unexpected ';', expecting '('. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(565): Failed to find the name 'array_of_8_logic' in scope 'AES_types' at /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_types.sv(1). ** Error: (vlog-13069) /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(565): near ";": syntax error, unexpected ';', expecting '('. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(579): (vlog-2730) Undefined variable: 'c$app_arg_11'. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(584): (vlog-2730) Undefined variable: 'c$x_app_arg_2'. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(593): Failed to find the name 'array_of_8_logic_from_lv' in scope 'AES_types' at /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_types.sv(1). ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(602): (vlog-2730) Undefined variable: 'c$app_arg_11'. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(618): (vlog-2730) Undefined variable: 'result_13'. ** Error: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_topEntity.sv(628): (vlog-2730) Undefined variable: 'result_13'. ** Warning: /home/martijn/code/zcompiler/.clash-test-tmp/clash-test--afbb0190293853c0/Tests/Unit/Basic/AES/SystemVerilog/systemverilog/AES/AES_types.sv(1): (vlog-2275) 'AES_types' already exists and will be overwritten. -- Compiling package AES_types End time: 14:11:37 on Apr 03,2019, Elapsed time: 0:00:00 Errors: 41, Warnings: 1
The text was updated successfully, but these errors were encountered:
SystemVerilog: Bool is a scalar typei
89fa435
Fixes #569
SystemVerilog: Bool is a scalar type
93062c9
97a9047
112cdc2
Successfully merging a pull request may close this issue.
When compiling this file, gracefully provided by @adamwalker, Clash fails to produce usable SystemVerilog output:
The text was updated successfully, but these errors were encountered: