example: new example demonstrating an ASK modulator#28
example: new example demonstrating an ASK modulator#28dpks2003 merged 8 commits intovicharak-in:mainfrom
Conversation
|
Hello @WasteOfO2 Thank you for Contribution. |
dpks2003
left a comment
There was a problem hiding this comment.
Please check the comments and do the required changes.
| @@ -1,5 +1,3 @@ | |||
| (shrike_cli_guide)= | |||
There was a problem hiding this comment.
this change is disruptive as it needed fro sphinex to render it properly. Revert this
| Onces the fpga is flashed you should see the led connected to fpga blinking. | ||
|
|
||
| The mpremote has a lot more features as well you can check them all out in there guide [here](https://docs.micropython.org/en/latest/reference/mpremote.html#). | ||
|
|
There was a problem hiding this comment.
Will suggest completely reverting any changes in this file.
There was a problem hiding this comment.
Please revert this file these changes does not need's to be committed.
Just reset this file to current main.
There was a problem hiding this comment.
i just directly copy pasted from what it currently is upstream as i figured that would be easier, in case that isnt sufficient i will just revert it as usual
There was a problem hiding this comment.
please revert it as copy pasting will still get into git log which , will rebuild the docs without any real changes. I hope you understand.
| @@ -0,0 +1,67 @@ | |||
| `timescale 1ns / 1ps | |||
|
|
|||
There was a problem hiding this comment.
what is the difference between main_tb.vt and main_tb.v
There was a problem hiding this comment.
ah, i forgot to remove the older file as it didnt work as expected, will remove all the unnecessary files in the coming commit
There was a problem hiding this comment.
A proper file name would be needed here bruh.v is cool however unacceptable for a pr
There was a problem hiding this comment.
my bad, this file was not supposed to exist here
There was a problem hiding this comment.
Why is there a main_tb.v in the src file.
There was a problem hiding this comment.
no idea, will be removed right away
There was a problem hiding this comment.
again proper naming and this should into a firmware subfolder in your project folder checkout ultrasonic example for reference
There was a problem hiding this comment.
a proper name for this file and name the dir as micropython instead of python_script
There was a problem hiding this comment.
directory can be renamed, however i would want to know what other name can be used instead of helloshrike.py as i named it after the sequence that should be shown on the DSO/CRO
There was a problem hiding this comment.
maybe ask_modulator.py would be a better name and in the comments in teh file you can mention it send's hello word.
There was a problem hiding this comment.
again the user should be sure what example they are running so proper naming here
There was a problem hiding this comment.
will be renamed right away
There was a problem hiding this comment.
.bin file or bit-stream are not required in the repo they should be generated by user.
There was a problem hiding this comment.
will remove this, kept it as a working reference for users willing to just flash and get the desired output
|
@WasteOfO2 your implementation is fine however the PR requires clean up , have added comments for that please do the needful. |
Remove obsolete simulation sources and binary bitstream, rename the ffpga file, and move helloshrike.py into the firmware/python_script path.
|
@dpks2003 kindly review the changes, let me know if further changes are needed |
There was a problem hiding this comment.
a proper name for this file and name the dir as micropython instead of python_script
| Onces the fpga is flashed you should see the led connected to fpga blinking. | ||
|
|
||
| The mpremote has a lot more features as well you can check them all out in there guide [here](https://docs.micropython.org/en/latest/reference/mpremote.html#). | ||
|
|
There was a problem hiding this comment.
Please revert this file these changes does not need's to be committed.
Just reset this file to current main.
|
@dpks2003 changed the directory name as requested, do suggest a naming convention for firmware be it for micropython, arduino, etc files so it can be ironed out down the line |
| Onces the fpga is flashed you should see the led connected to fpga blinking. | ||
|
|
||
| The mpremote has a lot more features as well you can check them all out in there guide [here](https://docs.micropython.org/en/latest/reference/mpremote.html#). | ||
|
|
There was a problem hiding this comment.
please revert it as copy pasting will still get into git log which , will rebuild the docs without any real changes. I hope you understand.
There was a problem hiding this comment.
maybe ask_modulator.py would be a better name and in the comments in teh file you can mention it send's hello word.
sure @WasteOfO2 i am working on a contribution guide which will have all the conventions and guideline. Thank You |
|
also suggesting you to squash all of these in a single commit . |
|
hello @dpks2003 , sorry i was traveling so couldnt get back to this multiple commits other than mine were made in this duration, are you fine with me squashing those as well? |
|
Seem to have squashed them locally but I am not sure if github has reflected that, never really worked with squashing before so i apologize |
|
@WasteOfO2 it did not work no worries i will do it will merging. |
Added a new example demonstrating an Amplitude Shift Key modulator using both - the FPGA and the microcontroller.
Part of the README was made using assistance of LLMs, but has been confirmed to be valid and correct.
I am not sure if a video is necessary demonstrating the same, if needed will add it for reference
The example consists of the project file, source for the verilog code alongside the testbench for verification, python script for input or whatever code is to be actually transmitted and lastly, the bitstream to note the output for the same
Please do let me know if any additional changes are needed, thank you!