From 4dfef4ca228161ade49245cd328bc878a5b4d46b Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Thu, 13 May 2021 13:36:04 -0500 Subject: [PATCH] verilog: enable signal not handled specially --- src/ide/waveform.ts | 1 + src/platform/verilog.ts | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/ide/waveform.ts b/src/ide/waveform.ts index cf4c2657..4cf1255b 100644 --- a/src/ide/waveform.ts +++ b/src/ide/waveform.ts @@ -293,6 +293,7 @@ export class WaveformView { var oldValue = data[0] || 0; var min = 0; var max = (1 << meta.len) - 1; + //console.log(meta, oldValue, min, max); if (max == 1) { this.wfp.setSignalValue(row, oldValue > 0 ? 0 : 1); } else { diff --git a/src/platform/verilog.ts b/src/platform/verilog.ts index 59aa0a3f..8e77abd2 100644 --- a/src/platform/verilog.ts +++ b/src/platform/verilog.ts @@ -173,7 +173,6 @@ abstract class VerilatorBase { maxVclockLoop = 0; clk = 0; reset = 0; - enable?; vl_fatal(msg:string) { console.log(msg); @@ -183,9 +182,6 @@ abstract class VerilatorBase { setTicks(T:number) { this.totalTicks = T|0; } __reset() { - if (this.enable !== undefined) { - this.enable = 1; // enable enable if defined - } if (this.reset !== undefined) { this.totalTicks = 0; this.reset = 0;