1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2026-04-24 11:16:38 +00:00

look in cache first, fetch local/ verilog includes too; apple2 reset; platform checkmark

This commit is contained in:
Steven Hugg
2018-07-24 11:38:56 -04:00
parent 4ea23e21f2
commit 6e5005f613
9 changed files with 82 additions and 45 deletions
+3
View File
@@ -9,6 +9,8 @@ includeInThisContext('src/platform/verilog.js');
function loadPlatform(msg) {
var platform = new VerilogPlatform();
try {
//console.log(msg.output.ports);
//console.log(msg.output.signals);
platform.loadROM("ROM", msg.output);
vl_finished = vl_stopped = false;
for (var i=0; i<10000 && !(vl_finished||vl_stopped); i++)
@@ -53,6 +55,7 @@ describe('Verilog Worker', function() {
testVerilator('presets/verilog/hvsync_generator.v');
testVerilator('presets/verilog/lfsr.v');
testVerilator('presets/verilog/ram.v');
// TODO: how to include files?
//testVerilator('test/cli/verilog/t_tri_gate.v');