alpacinoliu
Member level 3
RTL code is synthesized to use DC(version: 2003.12-SP1 for LinuX). As a result, synthesized netlist is not what I expected( as figure 1), as its function is right. I want to get schematic as figue 2. How to get the schematic as figure 2? Any advice and discussion is expected and appreciated.
Thand you in advance
RTL code as follow:
Thand you in advance
RTL code as follow:
Code:
assign lbswaprstz = hwresetz & (scan_testmode | ~vpixvalidrp);
always @(posedge hpixvalidclk_mux or negedge lbswaprstz)
begin
if (!lbswaprstz) begin
lb2wsel <= 0;
lb3wsel <= 0;
lb4wsel <= 0;
lb5wsel <= 0;
end else begin
lb2wsel <= lb1wsel;
lb3wsel <= lb2wsel;
lb4wsel <= lb3wsel;
lb5wsel <= lb4wsel;
end
end
assign lbswaprst1z = (scan_testmode) ? hwresetz : lbswaprstz | ~shiften;
assign lbswaprst2z = (scan_testmode) ? hwresetz : lbswaprstz | shiften;
always @(posedge hpixvalidclk_mux or negedge lbswaprst1z or negedge lbswaprst2z)
begin
if (!lbswaprst1z) begin
lb0wsel <= 0;
lb1wsel <= 1;
end else if (!lbswaprst2z) begin
lb0wsel <= 1;
lb1wsel <= 0;
end else begin
lb0wsel <= lb5wsel;
lb1wsel <= lb0wsel;
end
end