-
Notifications
You must be signed in to change notification settings - Fork 64
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
Better formatting #26
Comments
Related to the AES ? There is also https://github.com/SpinalHDL/SpinalCrypto So i don't know what is better. As crypto is a realy realy realy large field, maybe it is better to keep things in standalone libraries ? |
No, it was mainly about the The AES itself is just for demo, it is inspired from school work (initially done in VHDL at school with a different structure). I only use it as a demo for SpinalHDL stuff to demonstrate features:
I don't want to merge this AES into anything ^^' |
FYI while working on SpinalHDL/SpinalHDL#161 I've added |
Ahhh sure ^^
Hmm one question is : |
Alignments are performed by |
@Dolu1990 convinced me that even if SpinalHDL enables the user to abstract the wires, sometimes the user wants to manipulate wire-by-wire so aligning stuff would be great.
In https://github.com/numero-744/Aes there is a repository fully auto-formatted using
scalafmt
, with alignments (=
,:=
,#=
andport
), usingport
syntax for better rendering.Also, I have added a few idioms as VSCode snippets, I wrote the full snippets as comments in the files where I would use them, but don't forget it is even shorter with auto-formatting 😉
See the readme of the repository for more information.
I'll open a PR to merge some stuff from that repository once Spinal 1.8 has been released with the port notation. Before that, comments appreciated 😃
PS: We could also merge some stuff in SpinalHDL itself?
The text was updated successfully, but these errors were encountered: