Skip to content

Commit b904018

Browse files
committed
latch_control reduced
1 parent 643f611 commit b904018

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

hdl/ula6c001.v

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -808,9 +808,7 @@ module latch_control (input wire nCLK7, inout wire Border, input wire nBorder, i
808808
output wire nDataLatch, output wire nAOLatch, output wire nVidC3, output wire C0_other, output wire SLoad, output wire nSLoad, output wire VidEn, output wire VidCASPulse );
809809
wire w339;
810810
wire w349;
811-
wire w350;
812-
wire w387;
813-
wire w388;
811+
wire nVidEn; // w350
814812
wire w389;
815813
wire w390;
816814
wire w391;
@@ -839,14 +837,10 @@ module latch_control (input wire nCLK7, inout wire Border, input wire nBorder, i
839837
ula_nor g409 (.a(w397), .b(w397), .x(w398) );
840838
ula_not g51 (.a(w398), .x(nDataLatch) );
841839

842-
// GD
843-
ula_nor g480 (.a(w388), .b(nC3), .x(w387) );
844-
ula_nor g481 (.a(nC3), .b(nBorder), .x(w388) );
845-
ula_nor g466 (.a(w350), .b(w388), .x(VidEn) );
846-
ula_nor g467 (.a(w387), .b(VidEn), .x(w350) );
840+
GD viden_gd (.D(nBorder), .nE(nC3), .Q(VidEn), .nQ(nVidEn) );
847841

848842
ula_not g57 (.a(nC0), .x(C0_other) );
849-
ula_nor4 g443 (.a(C1), .b(nC2), .c(w350), .d(C0_other), .x(SLoad) );
843+
ula_nor4 g443 (.a(C1), .b(nC2), .c(nVidEn), .d(C0_other), .x(SLoad) );
850844
ula_not g339 (.a(SLoad), .x(nSLoad) );
851845

852846
ula_nor4 g407 (.a(nC0), .b(nVidC3), .c(nC1), .d(VidCASPulse), .x(w419) );

0 commit comments

Comments
 (0)