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

Add capability to top level testbench for "seeded tests" #23

Closed
pear7 opened this issue Aug 21, 2016 · 4 comments
Closed

Add capability to top level testbench for "seeded tests" #23

pear7 opened this issue Aug 21, 2016 · 4 comments
Assignees

Comments

@pear7
Copy link
Collaborator

pear7 commented Aug 21, 2016

Add capabilities to the transactor and the HVL test bench to support a single "testcase" sent to the emulator to be utilized as the base test case for creating many test cases on the emulator. This will decrease communication overhead and increase the amount of computation to be done on the emulator for a particular test case.

@pear7 pear7 self-assigned this Aug 21, 2016
@pear7
Copy link
Collaborator Author

pear7 commented Aug 21, 2016

@SLawson @kinap I got something working for this last night that I need to polish up but I was able to get a 46% utilization rate on the emulator (up from under 1%) and I think this could be improved since I'm generating 128 test cases from the base and could do more.

@kinap
Copy link
Owner

kinap commented Aug 21, 2016

@pear7 Wow, that's a great increase.

How are you permuting the data to create new test cases?

@pear7
Copy link
Collaborator Author

pear7 commented Aug 21, 2016

I've got a bounded for loop in the Transactor that takes the base test case
and flips each bit one at a time in the input data while keeping the key
constant and pushes one of these new test cases each clock cycle.

I've almost got the assertion working to verify end to end
plain->encrypted->plain but need to add a buffer for the key value to make
sure the timing is correct. I've also added "muxes" to change where the
signals are being driven from which allows us to change "modes" where some
test cases verify the encrypted data and some test cases just verify the
end to end plain text encryption/decryption and have the assertions setup
to switch modes.

On Sun, Aug 21, 2016 at 1:13 PM, Daniel Collins notifications@github.com
wrote:

@pear7 https://github.com/pear7 Wow, that's a great increase.

How are you permuting the data to create new test cases?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#23 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/APODTVw6czW-nUq9H8JndxbeWkjR6rM9ks5qiLFlgaJpZM4JpX6H
.

@pear7
Copy link
Collaborator Author

pear7 commented Aug 22, 2016

Resolved w/ 05cfb62. Currently to access, change the line in the HVL testbench from test.testType = DIRECTED to test.testType = SEEDED. HVL testbench will be updated as part of #24.

@pear7 pear7 closed this as completed Aug 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants