From 20def71bb1699534cd52f352123a929efaf0b24d Mon Sep 17 00:00:00 2001 From: WilliamMiceli Date: Fri, 29 Mar 2019 16:15:47 -0400 Subject: [PATCH] Removed references to CLK, as not needed; simplified testbench a little --- lab2CA.srcs/sources_1/new/instructionMemory.v | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lab2CA.srcs/sources_1/new/instructionMemory.v b/lab2CA.srcs/sources_1/new/instructionMemory.v index 184cbc7..d4af570 100644 --- a/lab2CA.srcs/sources_1/new/instructionMemory.v +++ b/lab2CA.srcs/sources_1/new/instructionMemory.v @@ -1,7 +1,6 @@ `timescale 1ns / 1ps module instructionMemory( - input wire clk, input wire [8:0] address, output reg [8:0] readData ); @@ -216,19 +215,10 @@ endmodule module instructionMemory_tb(); - reg clk; reg [8:0] address; wire [8:0] readData; - initial begin - clk = 1'b0; - end - always begin - #5 clk = ~clk; // Period to be determined - end - instructionMemory iM0( - .clk(clk), .address(address), .readData(readData) );