mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-12-26 22:31:14 +00:00
fixed verilog
This commit is contained in:
parent
3c7de544b0
commit
96a324fef2
@ -1298,9 +1298,13 @@ function compileInlineASM(code, platform, options, errors, asmlines) {
|
||||
return code;
|
||||
}
|
||||
|
||||
function compileVerilator(code, platform, options) {
|
||||
function compileVerilator(step) {
|
||||
loadNative("verilator_bin");
|
||||
load("verilator2js");
|
||||
var code = step.code;
|
||||
var platform = step.platform || 'verilog';
|
||||
var options = step.options || {};
|
||||
// TODO: make work with files
|
||||
var errors = [];
|
||||
var asmlines = [];
|
||||
code = compileInlineASM(code, platform, options, errors, asmlines);
|
||||
|
Loading…
Reference in New Issue
Block a user