Added std test
This commit is contained in:
		| @@ -27,12 +27,12 @@ | ||||
| namespace std_cell_template { | ||||
|   namespace dataflow_neuro { | ||||
|  | ||||
|     export defproc TIELO_X1(bool! y; bool? vdd, vss) | ||||
|     export defproc TIELO_X1(bool! y; bool vdd, vss) | ||||
|     { | ||||
|       y = vss; | ||||
|     } | ||||
|  | ||||
|     export defproc TIEHI_X1(bool! y; bool? vdd, vss) | ||||
|     export defproc TIEHI_X1(bool! y; bool vdd, vss) | ||||
|     { | ||||
|       y = vdd; | ||||
|     } | ||||
|   | ||||
							
								
								
									
										58
									
								
								dataflow_neuro/cell_lib_std_test.act
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										58
									
								
								dataflow_neuro/cell_lib_std_test.act
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,58 @@ | ||||
| /************************************************************************* | ||||
|  * | ||||
|  *  This file is part of ACT dataflow neuro library. | ||||
|  * It's the testing facility for cell_lib_std.act | ||||
|  * | ||||
|  *  Copyright (c) 2022 University of Groningen - Ole Richter   | ||||
|  *  Copyright (c) 2022 University of Groningen - Hugh Greatorex | ||||
|  *  Copyright (c) 2022 University of Groningen - Michele Mastella | ||||
|  *  Copyright (c) 2022 University of Groningen - Alex Madison | ||||
|  * | ||||
|  *  This source describes Open Hardware and is licensed under the CERN-OHL-W v2 or later | ||||
|  * | ||||
|  *  You may redistribute and modify this documentation and make products | ||||
|  *  using it under the terms of the CERN-OHL-W v2 (https:/cern.ch/cern-ohl). | ||||
|  *  This documentation is distributed WITHOUT ANY EXPRESS OR IMPLIED | ||||
|  *  WARRANTY, INCLUDING OF MERCHANTABILITY, SATISFACTORY QUALITY | ||||
|  *  AND FITNESS FOR A PARTICULAR PURPOSE. Please see the CERN-OHL-W v2 | ||||
|  *  for applicable conditions. | ||||
|  * | ||||
|  *  Source location: https://git.web.rug.nl/bics/actlib_dataflow_neuro | ||||
|  * | ||||
|  *  As per CERN-OHL-W v2 section 4.1, should You produce hardware based on | ||||
|  *  these sources, You must maintain the Source Location visible in its | ||||
|  *  documentation. | ||||
|  * | ||||
|  ************************************************************************** | ||||
|  */ | ||||
|  | ||||
| import "cell_lib_std.act"; | ||||
|  | ||||
| open std_cell_template::dataflow_neuro; | ||||
|  | ||||
| TIELO_X1 cell1; | ||||
| TIEHI_X1 cell2; | ||||
| INV_X1 cell4; | ||||
| INV_X2 cell5; | ||||
| INV_X4 cell6; | ||||
| INV_X8 cell7; | ||||
| CLKBUF1 cell8; | ||||
| CLKBUF2 cell9; | ||||
| CLKBUF3 cell10; | ||||
| NOR2_X1 cell11; | ||||
| NOR3_X1 cell12; | ||||
| OR2_X1 cell13; | ||||
| OR2_X2 cell14; | ||||
| NAND2_X1 cell15; | ||||
| NAND3_X1 cell16; | ||||
| AND2_X1 cell17; | ||||
| AND2_X2 cell18; | ||||
| XOR2_X1 cell19; | ||||
| XNOR2_X1 cell20; | ||||
| MUX2_X1 cell25; | ||||
| OAI21_X1 cell26; | ||||
| AOI21_X1 cell27; | ||||
| OAI22_X1 cell28; | ||||
| AOI22_X1 cell29; | ||||
| TBUF1_X1 cell30; | ||||
| TBUF_X2 cell31; | ||||
		Reference in New Issue
	
	Block a user