URL
https://opencores.org/ocsvn/iso7816_3_master/iso7816_3_master/trunk
Subversion Repositories iso7816_3_master
Compare Revisions
- This comparison shows the changes necessary to convert path
/iso7816_3_master/trunk/sources
- from Rev 16 to Rev 17
- ↔ Reverse comparison
Rev 16 → Rev 17
/Iso7816_3_Master.v
107,7 → 107,7
assign atrIsEarly = ~waitTs & (resetCnt<(16'h100+16'd400)); |
assign atrIsLate = resetCnt>(16'h100+16'd40000); |
assign useIndirectConvention = ~waitTs & (ts==8'h3F); |
assign tsError = ~waitTs & (ts!=8'h3B) & ~useIndirectConvention; |
assign tsError = ~waitTs & (ts!=8'h3B) & (ts!=8'h3F); |
always @(posedge comClk, negedge nReset) begin |
if(~nReset) begin |
isoClkEn <= 1'b0; |
122,7 → 122,7
waitTs<=1'b0; |
case(dataOut) |
8'h3B: ts<=dataOut; |
8'h03: ts<=8'h3F; |
8'h03: ts<=8'h3F;//03 is 3F written LSB first and complemented |
default: ts<=dataOut; |
endcase |
end |