From 1fe15a5973bcd7b5d07ea82fd85545a6e73a20f0 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sat, 21 Feb 2015 14:25:34 +0100 Subject: YosysJS: Wait for Viz to load --- misc/yosysjs/demo03.html | 23 +++++++++++++---------- misc/yosysjs/yosysjs.js | 26 ++++++++++++++++++++------ 2 files changed, 33 insertions(+), 16 deletions(-) (limited to 'misc/yosysjs') diff --git a/misc/yosysjs/demo03.html b/misc/yosysjs/demo03.html index 36cc6cf4..c9386aee 100644 --- a/misc/yosysjs/demo03.html +++ b/misc/yosysjs/demo03.html @@ -24,16 +24,18 @@ endmodule

YosysJS Example Application #03

Your mission: Create a behavioral Verilog model for the following circuit:

- -

-

module top(input clk, reset, input [7:0] A, output reg [7:0] Y);
-  always @(posedge clock) begin
-    Y <= A | {4{reset}};
-  end
-endmodule

- -

-

 

+