Figure 3. Cpld Default Signal Assignments - Cirrus Logic CDB5378 Manual

Single-channel seismic evaluation system
Table of Contents

Advertisement

///////////////////////////////////////////////////////////////////////////
// MODULE:
//
// FILE NAME:
// VERSION:
// DATE:
// COPYRIGHT:
//
// CODE TYPE:
//
// DESCRIPTION:
//
//
///////////////////////////////////////////////////////////////////////////
module cdb5378(
sck_mc,
miso_mc,
mosi_mc,
ssz_mc,
drdyz_mc,
sck,
miso,
mosi,
ssz,
drdyz,
sync_pb,
sync_mc,
sync_ext,
sync);
//////////////////
// input signals
//////////////////
input sck_mc, mosi_mc, ssz_mc;
input miso, drdyz;
input sync_mc, sync_pb, sync_ext;
input timeb_pb, timeb_mc, timeb_ext;
wire sck_mc, mosi_mc, ssz_mc;
wire miso, drdyz;
wire sync_pb, sync_mc, sync_ext;
wire timeb_pb, timeb_mc, timeb_ext;
//////////////////
//output signals
//////////////////
output miso_mc, drdyz_mc;
output sck, mosi, ssz;
output sync;
output timeb;
wire miso_mc, drdyz_mc;
wire sck, mosi, ssz;
wire sync;
wire timeb;
///////////////////////
// signal assignments
///////////////////////
assign mosi = ssz_mc? 1'bz:mosi_mc;
assign ssz = ssz_mc? 1'bz:ssz_mc;
assign sck = (ssz_mc & drdyz )? 1'bz:sck_mc;
assign miso_mc = miso;
assign drdyz_mc = drdyz;
assign sync = sync_pb | sync_mc | sync_ext;
assign timeb = timeb_pb | timeb_mc | timeb_ext;
endmodule
26
cdb5378.v
CDB5378 top module
Top module for connecting CS5378 to C8051F320
1.0
November 27, 2007
Cirrus Logic, Inc.
Register Transfer Level
This module includes assignments for signals between
the serial port of Rodney and the SLAB micro.
// 5
I serial clock from printer port
// 6
O serial output
// 7
I serial input
// 8
I slave select (active low)
// 9
O data ready (active low)
// 61 O serial clock
// 60 I serial output
// 58 O serial input
// 57 O slave select (active low)
// 56 I data ready (active low)
timeb_mc,
// 14 I timebreak pulse (active high)
timeb_pb,
// 93 I pushbutton timebreak
timeb_ext,
// 98 I external timebreak
timeb,
// 52 O timebreak pulse to digital filter
// 94 I pushbutton sync
// 13 I sync from uC
// 99 I external sync
// 53 O sync to CS5378
Page 1

Figure 3. CPLD Default Signal Assignments

CDB5378
DS639DB4

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CDB5378 and is the answer not in the manual?

Table of Contents