mirror of
				https://github.com/Klagarge/Cursor.git
				synced 2025-10-31 05:59:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			339 B
		
	
	
	
		
			VHDL
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			339 B
		
	
	
	
		
			VHDL
		
	
	
	
	
	
| ARCHITECTURE sim OF registerSigned IS
 | |
| BEGIN
 | |
| 
 | |
|   registerData: process(reset, clock)
 | |
|   begin
 | |
|     if reset = '1' then
 | |
|       dataOut <= (others => '0') after delay;
 | |
|     elsif rising_edge(clock) then
 | |
|       if enable = '1' then
 | |
|         dataOut <= dataIn after delay;
 | |
|       end if;
 | |
|     end if;
 | |
|   end process registerData;
 | |
| 
 | |
| END ARCHITECTURE sim;
 | |
| 
 |