mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Merge pull request #766 from Icenowy/anlogic-latches
anlogic: add latch cells
This commit is contained in:
		
						commit
						e09e49ca54
					
				
					 1 changed files with 12 additions and 0 deletions
				
			
		|  | @ -15,6 +15,18 @@ module  \$_DFF_PN1_ (input D, C, R, output Q); AL_MAP_SEQ #(.DFFMODE("FF"), .REG | |||
| module  \$_DFF_PP0_ (input D, C, R, output Q); AL_MAP_SEQ #(.DFFMODE("FF"), .REGSET("RESET"), .SRMUX("SR"),  .SRMODE("SYNC")) _TECHMAP_REPLACE_ (.d(D), .q(Q), .clk(C),  .ce(1'b1), .sr(R)); endmodule | ||||
| module  \$_DFF_PP1_ (input D, C, R, output Q); AL_MAP_SEQ #(.DFFMODE("FF"), .REGSET("SET"),   .SRMUX("SR"), . SRMODE("SYNC")) _TECHMAP_REPLACE_ (.d(D), .q(Q), .clk(C),  .ce(1'b1), .sr(R)); endmodule | ||||
| 
 | ||||
| module \$_DLATCH_N_ (E, D, Q); | ||||
|   wire [1023:0] _TECHMAP_DO_ = "simplemap; opt"; | ||||
|   input E, D; | ||||
|   output Q = !E ? D : Q; | ||||
| endmodule | ||||
| 
 | ||||
| module \$_DLATCH_P_ (E, D, Q); | ||||
|   wire [1023:0] _TECHMAP_DO_ = "simplemap; opt"; | ||||
|   input E, D; | ||||
|   output Q = E ? D : Q; | ||||
| endmodule | ||||
| 
 | ||||
| `ifndef NO_LUT | ||||
| module \$lut (A, Y); | ||||
|   parameter WIDTH = 0; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue