mirror of
https://github.com/Klagarge/Cursor.git
synced 2025-07-03 07:11:11 +00:00
Initial commit
This commit is contained in:
1584
Cursor_test/hds/divider_tester/interface
Normal file
1584
Cursor_test/hds/divider_tester/interface
Normal file
File diff suppressed because it is too large
Load Diff
21
Cursor_test/hds/divider_tester/test.vhd
Normal file
21
Cursor_test/hds/divider_tester/test.vhd
Normal file
@ -0,0 +1,21 @@
|
||||
ARCHITECTURE test OF divider_tester IS
|
||||
|
||||
constant clockPeriod: time := 50 ns;
|
||||
signal sClock: std_uLogic := '1';
|
||||
|
||||
BEGIN
|
||||
|
||||
reset <= '1', '0' after clockPeriod/4;
|
||||
|
||||
sClock <= not sClock after clockPeriod/2;
|
||||
clock <= sClock after clockPeriod/10;
|
||||
|
||||
testMode <= '1', '0' after 10000*clockPeriod;
|
||||
|
||||
start <= '0',
|
||||
'1' after 210 us,
|
||||
'0' after 210 us + clockPeriod,
|
||||
'1' after 2.1 ms,
|
||||
'0' after 2.1 ms + clockPeriod;
|
||||
|
||||
END test;
|
Reference in New Issue
Block a user