Difference between revisions of "MRI lab: FPGA controller documentation"

From Course Wiki
Jump to: navigation, search
(Control registers)
Line 2: Line 2:
 
{| border="1"
 
{| border="1"
 
|-
 
|-
!Name
+
!Register
!Offset
+
!Bits
!Size
+
!Function
!Description
+
 
|-
 
|-
 
|PhaseIncrement
 
|PhaseIncrement
|
+
|31:0
|32
+
 
|Frequency of generated sinewave
 
|Frequency of generated sinewave
 
|-
 
|-
 
|Pulse1On
 
|Pulse1On
|
+
|31:0
|32
+
 
|Length of first pulse
 
|Length of first pulse
 
|-
 
|-
 
|Pulse1Off
 
|Pulse1Off
|
+
|31:0
|32
+
 
|Interval between first and second pulse
 
|Interval between first and second pulse
 
|-
 
|-
 
|Pulse2On
 
|Pulse2On
|
+
|31:0
|32
+
 
|Length of second pulse
 
|Length of second pulse
 
|-
 
|-
 
|Pulse2Off
 
|Pulse2Off
 +
|31:0
 +
|Interval between second pulse and end of cycle
 +
|-
 +
!PulseControl
 +
|-
 
|
 
|
|32
+
|4
|Interval between second pulse and end of cycle
+
|0=normal operation (ADC data); 1=A/D test (count)
 
|}
 
|}
  
 
==API==
 
==API==

Revision as of 20:08, 15 June 2010

Control registers

Register Bits Function
PhaseIncrement 31:0 Frequency of generated sinewave
Pulse1On 31:0 Length of first pulse
Pulse1Off 31:0 Interval between first and second pulse
Pulse2On 31:0 Length of second pulse
Pulse2Off 31:0 Interval between second pulse and end of cycle
PulseControl
4 0=normal operation (ADC data); 1=A/D test (count)

API