O'Reilly logo

Designing SOCs with Configured Cores by Steve Leibson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7.4. Direct Input and Output Ports

Two of the Diamond 108Mini processor core’s unique features are its 32-bit direct input and output ports. The input and output wires on these ports directly connect to special software-visible registers in the processor core and can be used for general-purpose signaling, interrupt generation, serial communications, pulse-width modulation, and other sorts of status and control functions on the SOC. Special instructions read and manipulate the contents of these port registers. Table 7.5 lists these port instructions.

Table 7.5. Special input- and output-port register instructions
InstructionDefinition
CLRB_EXPSTATEClear any bit in the output-port register. Leave other bits unchanged.
SETB_EXPSTATESet any one bit ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required