1
0
mirror of https://github.com/Klagarge/Cursor.git synced 2024-11-30 04:43:26 +00:00
Cursor/Cursor_test/hdl/pulseWidthModulator_tester_.vhd

30 lines
857 B
VHDL
Raw Normal View History

--
-- VHDL Architecture Cursor_test.pulseWidthModulator_tester.arch_name
--
-- Created:
-- by - Simon.UNKNOWN (PC-SDM)
-- at - 08:54:14 14.01.2022
--
-- using Mentor Graphics HDL Designer(TM) 2019.2 (Build 5)
--
ARCHITECTURE arch_name OF pulseWidthModulator_tester IS
constant clockFrequency: real := 66.0E6;
constant clockPeriod: time := 1.0/clockFrequency * 1 sec;
signal clock_int: std_ulogic := '0';
BEGIN
-----------------------------------------------------------------------------
-- clock and reset
reset <= '1', '0' after 4*clockPeriod;
clock_int <= not clock_int after clockPeriod/2;
clock <= transport clock_int after 9*clockPeriod/10;
------------------------------------------------------------------------------
END ARCHITECTURE arch_name;