URL
https://opencores.org/ocsvn/lwrisc/lwrisc/trunk
[/] [lwrisc/] [trunk/] [RTL/] [test.v] - Diff between revs 11 and 19
Only display areas with differences |
Details |
Blame |
View Log
Rev 11 |
Rev 19 |
/******************************************************************
|
/******************************************************************
|
* *
|
* *
|
* Author: Liwei *
|
* Author: Liwei *
|
* *
|
* *
|
* This file is part of the "ClaiRISC" project, *
|
* This file is part of the "ClaiRISC" project, *
|
* The folder in CVS is named as "lwrisc" *
|
* The folder in CVS is named as "lwrisc" *
|
* Downloaded from: *
|
* Downloaded from: *
|
* http://www.opencores.org/pdownloads.cgi/list/lwrisc *
|
* http://www.opencores.org/pdownloads.cgi/list/lwrisc *
|
* *
|
* *
|
* If you encountered any problem, please contact me via *
|
* If you encountered any problem, please contact me via *
|
* Email:mcupro@opencores.org or mcupro@163.com *
|
* Email:mcupro@opencores.org or mcupro@163.com *
|
* *
|
* *
|
******************************************************************/
|
******************************************************************/
|
|
|
`timescale 10ns / 10ns
|
`timescale 10ns / 10ns
|
|
|
module test;
|
module test;
|
|
|
reg clk;
|
reg clk;
|
reg rst;
|
reg rst;
|
|
|
initial begin
|
initial begin
|
#1 clk = 0;
|
#1 clk = 0;
|
#10 rst = 0;
|
#10 rst = 0;
|
#10 rst = 1;
|
#10 rst = 1;
|
#10 rst = 0;
|
#10 rst = 0;
|
end
|
end
|
|
|
always #1 clk=~clk ;
|
always #1 clk=~clk ;
|
|
|
ClaiRISC_core I_ClaiRISC_core
|
ClaiRISC_core I_ClaiRISC_core
|
(
|
(
|
.clk(clk),
|
.clk(clk),
|
.rst(rst)
|
.rst(rst)
|
) ;
|
) ;
|
|
|
endmodule
|
endmodule
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.