AN-6130PCIe
HOLT INTEGRATED CIRCUITS
29
else
oe=1'b0;
// turn off buffer
end
assign testpoint = oe;
// leave as pin for debugging, later change to reg
//assign DataBus = oe ? InputBuffer : 16'hZ;
// Read the 16 inputs
assign DataBus = oe ? mux : 16'hZ;
// Read the 16 inputs
/* Misc Logic, Interrupt, MR */
assign nLINTi =
InputBuffer[4] & InputBuffer[5] & InputBuffer[6];
// Interrupt pins
// End of Misc.
// The c_delay counter is used to slow down the internal oscillator (OSC) output
// to a rate of approximately 0.5 Hz
always @(posedge osc_clk or negedge rstn)
begin
if (~rstn)
c_delay <= 32'h0000 ;
else
c_delay <= c 1;
end
assign clk = c_delay[18] ;
endmodule