mirror of
				https://github.com/Klagarge/Cursor.git
				synced 2025-10-31 14:09:17 +00:00 
			
		
		
		
	Initial commit
This commit is contained in:
		
							
								
								
									
										16
									
								
								Libs/Sequential/hdl/registerUnsigned_sim.vhd
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								Libs/Sequential/hdl/registerUnsigned_sim.vhd
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| ARCHITECTURE sim OF registerUnsigned 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; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user