Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caliptra JTAG TdoEn missing output #415

Closed
nstewart-amd opened this issue Feb 9, 2024 · 3 comments · Fixed by #425
Closed

Caliptra JTAG TdoEn missing output #415

nstewart-amd opened this issue Feb 9, 2024 · 3 comments · Fixed by #425
Assignees
Labels
bug Something isn't working

Comments

@nstewart-amd
Copy link
Contributor

“IEEE1149.1 standard says in chapter 4.5.1 “The TDO driver shall be set to its inactive drive state except when the scanning of data is in progress”. So TdoEn is needed to implement this requirement, detailed in Table 6.2.”

Caliptra RTL currently does not expose TdoEn as a top-level port.
However, TdoEn appears to be implemented in the VEER TAP controller.

File: riscv_core/veer_el2/rtl/dmi/rvjtag_tap.v
assign tdoEnable = shift_dr | shift_ir;

However, this output is left dangling at the VEER wrapper and not pulled to the top of Caliptra.

File: riscv_core/veer_el2/rtl/el2_veer_wrapper.sv
.tdoEnable (),

@nstewart-amd
Copy link
Contributor Author

Also here: chipsalliance/Cores-VeeR-EL2#159

@steven-bellock
Copy link
Contributor

Somewhat related issue : #365 (just get rid of the VeeR TAP controller since SoCs have their own). In particular VeeR (and Caliptra) assume that the TAP signals go directly to the chip's pins/pads.

@calebofearth calebofearth added the bug Something isn't working label Feb 16, 2024
@Nitsirks Nitsirks self-assigned this Feb 20, 2024
@Nitsirks
Copy link
Contributor

I've submitted a PR to fix this issue

#423

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants