`define DCORI2CCNT		 8'd0
//interrupt control registers
`define DCORIE			 8'd0
`define DCORIFG			 8'd1

//limit swich register
`define DCORLIMITS		 8'd3  

//Limit switch interrupt register
`define DCORLINT         8'd2
//encoder control
`define DCORENCCTL		 8'd3

//encoder 0 counter
`define DCOR0CNTLOW		 8'd4
//define DCOR0CNTMID		 8'd5
`define DCOR0CNTHIGH	 8'd5

//emcoder 1 counter
`define DCOR1CNTLOW		 8'd6
//define DCOR1CNTMID 	 8'd8
`define DCOR1CNTHIGH	 8'd7

//encoder 0 latch
`define DCOR0THRESLOW	 8'd8
`define DCOR0THRESHIGH	 8'd9

//encoder 1 latch
`define DCOR1THRESLOW	 8'd10
`define DCOR1THRESHIGH	 8'd11 

//Sesnor board control
`define DCORSENSOR		8'd12

//encoder and home power control
`define DCORENCPWR		 8'd14

//switch input
`define DCORCONFIG		 8'd15

//Misc outputs
`define DCOROUT			 8'd15
