mirror of
				https://github.com/Klagarge/Cursor.git
				synced 2025-10-31 05:59:18 +00:00 
			
		
		
		
	Initial commit
This commit is contained in:
		
							
								
								
									
										13
									
								
								Libs/Sequential/hdl/DFF_sim2.vhd
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								Libs/Sequential/hdl/DFF_sim2.vhd
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| ARCHITECTURE sim OF DFF_pre IS | ||||
| BEGIN | ||||
|  | ||||
|   process(clk, pre) | ||||
|   begin | ||||
|     if pre = '1' then | ||||
|       q <= '1' after delay; | ||||
|     elsif rising_edge(clk) then | ||||
|       q <= d after delay; | ||||
|     end if; | ||||
|   end process; | ||||
|  | ||||
| END sim; | ||||
		Reference in New Issue
	
	Block a user