trav1s
Full Member level 1
I am trying to synthesize using SOC Encounter, but I am faced with the following error.
Error : Unable to map design without a suitable flip-flop. [MAP-2] [synthesize ]
: Instance 'U_DIV12/clk_count_reg[0]' requires a simple flip-flop.
: Check the libraries for necessary flop cell. The cell could be marked unusable.
I don't understand why it won't accept my library entry for the simple DFF. Here is what I have:
cell(dff) {
area : 1;
pin (CLK) {
direction : input;
capacitance : 1;
}
pin (D) {
nextstate_type : data;
direction : input;
capacitance : 1;
}
/* ff/latch format */
ff (IQ) {
next_state : "D" ;
clocked_on : "CLK" ;
}
/* statetable format */
statetable(" D CLK", "IQ") {
table : " H/L R : - : H/L,\
- ~R : - : N";
}
pin(Q) {
direction : output ;
function:"IQ";
}
}
Can anyone tell me what is wrong with this syntax? Why will Encounter not accept this cell?
Error : Unable to map design without a suitable flip-flop. [MAP-2] [synthesize ]
: Instance 'U_DIV12/clk_count_reg[0]' requires a simple flip-flop.
: Check the libraries for necessary flop cell. The cell could be marked unusable.
I don't understand why it won't accept my library entry for the simple DFF. Here is what I have:
cell(dff) {
area : 1;
pin (CLK) {
direction : input;
capacitance : 1;
}
pin (D) {
nextstate_type : data;
direction : input;
capacitance : 1;
}
/* ff/latch format */
ff (IQ) {
next_state : "D" ;
clocked_on : "CLK" ;
}
/* statetable format */
statetable(" D CLK", "IQ") {
table : " H/L R : - : H/L,\
- ~R : - : N";
}
pin(Q) {
direction : output ;
function:"IQ";
}
}
Can anyone tell me what is wrong with this syntax? Why will Encounter not accept this cell?