background image

PulseBlaster

Output Pattern and Control Word

Please refer to Table 1 for output pattern and control bit assignments of the 24-bit output/control word.

Bit 

#

Bit #

Function

23

Header JP300 pin 1

11

Output Connector DB25 pin 5

22

Header JP300 pin 3

10

Output Connector DB25 pin 18

21

Header JP300 pin 5

9

Output Connector DB25 pin 19

20

Header JP300 pin 7

8

Output Connector DB25 pin 7

19

Header JP300 pin 9

7

Output Connector DB25 pin 8

18

Header JP300 pin 11

6

Output Connector DB25 pin 21

17

Header JP300 pin 13

5

Output Connector DB25 pin 22

16

Header JP300 pin 15

4

Output Connector DB25 pin 10

15

Output Connector DB25 pin 2

3

Output Connector DB25 pin 11

14

Output Connector DB25 pin 15

2

Output Connector DB25 pin 24

13

Output Connector DB25 pin 16

1

Output Connector DB25 pin 25

12

Output Connector DB25 pin 4

0

Output Connector DB25 pin 13

Table 1:

 Output Pattern and Control Word Bits

Data Field and Op Code

Please refer to Table 2 for information on the available operational codes (OpCode) and the associated 

data field functions (the data field's function is dependent on the Op Code)

Op Code #

Inst

Inst_data

Function

0

CONTINUE

Ignored

Program execution continues to next 

instruction

1

STOP

Ignored

Stop execution of program (*Note all TTL 

values remain from previous instruction, and 

analog outputs turn off)

2

LOOP

Number of desired loops.  This 

value must be greater than or 

equal to 1.

Specify beginning of a loop.  Execution 

continues to next instruction.  Data used to 

specify number of loops

3

END_LOOP

Address of beginning of loop

Specify end of a loop.  Execution returns to 

begging of loop and decrements loop 

counter.

4

JSR

Address of first subroutine 

instruction

Program execution jumps to beginning of a 

subroutine

5

RTS

Ignored

Program execution returns to instruction 

after JSR was called

6

BRANCH

Address of next instruction

Program execution continues at specified 

instruction

7

LONG_DELAY

Number of desired loops.  This 

value must be greater than or 

equal to 2.

For long interval instructions.  Data field 

specifies a multiplier of the delay field. 

Execution continues to next instruction

8

WAIT

Ignored

Program execution stops and waits for 

software or hardware trigger.  Execution 

continues to next instruction after receipt of 

trigger. The latency is equal to the delay 

value entered in the WAIT instruction line 

plus a fixed delay of 6 clock cycles.

Table 2:

 Op Code and Data Field Description

http://www.spincore.com

5/19/2006

11

Summary of Contents for PulseBlaster PB24-100-32k-PCI

Page 1: ...PulseBlaster PCI Board Rev 01 Owner s Manual Models PB24 100 PCI PB24 100 32k PCI SpinCore Technologies Inc http www spincore com...

Page 2: ...gies Inc reserves the right to make changes to the product s or information herein without notice PulseBlasterDDS PulseBlaster SpinCore and the SpinCore Technologies Inc logos are trademarks of SpinCo...

Page 3: ...nstalling the PulseBlaster Driver 8 III Programming the PulseBlaster 8 The PulseBlaster Interpreter 8 IV Connecting to the PulseBlaster Board 9 Connector Information 9 DB 25 and JP300 TTL Output Signa...

Page 4: ...PulseBlaster Appendix II Sample C Program 15 Contact Information 17 http www spincore com 5 19 2006 4...

Page 5: ...is that the execution time of instructions is user programmable This feature makes the PulseBlaster processor capable of executing complex patterns at greatly varying update rates ranging from nanose...

Page 6: ...to a 50 ns pulse delay update with a 100 MHz clock The external memory models up to 32k words have a nine clock period minimum instruction cycle Instruction set PulseBlaster s design features a set of...

Page 7: ...pulse interval for 32k memory words models at 100 MHz 2 years longest pulse interval 10 ns pulse interval resolution at 100 MHz 32k instructions max memory space 512 instructions for internal memory...

Page 8: ...ter The PulseBlaster Interpreter The PulseBlaster board is now programmable via the PulseBlaster Interpreter which is a free programming utility provided by SpinCore for writing pulse programs This ea...

Page 9: ...is active pin 2 GND When a falling edge is detected e g when shorting pins 1 2 it initiates code execution This trigger will also restart execution of a program from the beginning of the code if it i...

Page 10: ...elf control by one of the fields of the instruction word the shortest being five clock cycles for 512 memory word models and the longest being 2 52 clock cycles All instructions have the same format a...

Page 11: ...tion 0 CONTINUE Ignored Program execution continues to next instruction 1 STOP Ignored Stop execution of program Note all TTL values remain from previous instruction and analog outputs turn off 2 LOOP...

Page 12: ...and facilitate the construction of pulse program instructions IIn order to use these functions the DLL spinapi dll the library file libspinapi a for mingw spinapilibgcc for borland and spinapi lib fo...

Page 13: ...to be executed Please see Table 2 for details int inst_data data to be used with the previous inst field Please see Table 2 for details int length duration of this pulse program instruction specified...

Page 14: ...rt_programming PULSE_PROGRAM Instruction 0 Continue to instruction 1 in 100ms Flags 0xFFFFFF OPCODE CONTINUE start pb_inst 0xFFFFFF CONTINUE 0 200 0 ms Instruction 1 Continue to instruction 2 in 100ms...

Page 15: ...by hand Instructions start at 0 and count up sub 5 Instruction format int pb_inst int flags int inst int inst_data int length Instruction 0 Jump to Subroutine at Instruction 4 in 1s start pb_inst 0xF...

Page 16: ...om Subroutine to Instruction 1 in 5 s pb_inst 0xF0F0F0 RTS 0 500 0 ms End of pulse program pb_stop_programming Trigger the pulse program pb_start Read the status register status pb_read_status printf...

Page 17: ...PulseBlaster Contact Information Email sales spincore com Web http www spincore com Product URL http www pulseblaster com CD PulseBlaster PCI SP2 http www spincore com 5 19 2006 17...

Reviews: