removed clock buffers

This commit is contained in:
alexmadison 2022-02-21 15:53:40 +01:00
parent 5fc6eaab9e
commit 30ffd8b16f
1 changed files with 1 additions and 21 deletions

View File

@ -24,7 +24,7 @@
**************************************************************************
*/
namespace std_cell_template {
namespace tmpl {
namespace dataflow_neuro {
export defproc TIELO_X1(bool! y; bool vdd, vss)
@ -59,26 +59,6 @@ namespace std_cell_template {
export defcell INV_X4<: szinv<2>() { }
export defcell INV_X8<: szinv<4>() { }
/*-- clock delay buffers --*/
template<pint N>
defproc dbuf (bool! y; bool? a, vdd, vss)
{
{N > 0 : "Delay buffer needs at least one stage!"};
bool sig[2*N+1];
sig[0] = a;
sig[2*N] = y;
prs {
(i:2*N: ~sig[i] <80;2> -> sig[i+1]+
sig[i] <40;2> -> sig[i+1]-
)
}
}
export defproc CLKBUF1 <: dbuf<2>() { }
export defproc CLKBUF2 <: dbuf<3>() { }
export defproc CLKBUF3 <: dbuf<4>() { }
/*-- signal buffers --*/