testing_facility for async works (we removed a namespace layer though)

This commit is contained in:
M. Mastella 2022-02-21 10:44:36 +01:00
parent f9361e7d66
commit 38e21ac99e
2 changed files with 62 additions and 3 deletions

View File

@ -25,7 +25,6 @@
*/
namespace async_template {
namespace dataflow_neuro {
export defcell A_1C1P2N_RB_X1 (bool! y; bool? c1,p1,n1,n2,pr_B, sr_B, vdd, vss) {
bool _y;
@ -114,7 +113,7 @@ namespace async_template {
p_n_mode <- 1;
y {-1}; _y{-1} }
}
}
export defcell A_1C2P (bool! y; bool? c1, p1, p2, vdd, vss)
{
@ -442,5 +441,5 @@ namespace async_template {
}
}
async_template::A_4P1N1N_X1 cell1;

View File

@ -0,0 +1,60 @@
/*************************************************************************
*
* This file is part of ACT dataflow neuro library.
* It's the testing facility for cell_lib_async.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
*
* 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_async.act";
async_template::A_1C1P2N_RB_X1 cell1;
async_template::A_1C1P2N_R_X1 cell2;
async_template::A_1C1P_1N_X1 cell3;
async_template::A_1C1P_B cell4;
async_template::A_1C1P cell5;
async_template::A_1C2P1N_X1 cell6;
async_template::A_1C2P_B_X1 cell7;
async_template::A_1C2P cell8;
async_template::A_1C3P2P2N_R_X1 cell9;
async_template::A_2C2N2N_RB_X1 cell10;
async_template::A_2C2N2N_RB_X2 cell11;
async_template::A_2C2N2N_RB_X4 cell12;
async_template::A_2C2N2N_R_X1 cell13;
async_template::A_2C2N_R_B_X2 cell14;
async_template::A_2C2N_R_B_X4 cell15;
async_template::A_2C2N_R_X1 cell16;
async_template::A_2C_B_X1 cell17;
async_template::A_2C_RB_X1 cell18;
async_template::A_2C_R_X1 cell19;
async_template::A_2C_X1 cell20;
async_template::A_3C_RB_X1 cell21;
async_template::A_3C_RB_X2 cell22;
async_template::A_3C_RB_X4 cell23;
async_template::A_3C_R_X1 cell24;
async_template::A_3C_X1 cell25;
async_template::A_4C_RB_X1 cell26;
async_template::A_4C_RB_X2 cell27;
async_template::A_4C_RB_X4 cell28;
async_template::A_4C_R_X1 cell29;
async_template::A_4P1N1N_B_X1 cell30;
async_template::A_4P1N1N_X1 cell31;