Skip to content

Commit

Permalink
Work on PRESENTATION
Browse files Browse the repository at this point in the history
  • Loading branch information
VonTum committed Aug 29, 2024
1 parent 8814190 commit 08787d7
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Rust
name: CI

on:
push:
Expand Down
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@

<p align="center">
<a href="https://crates.io/crates/sus_compiler">
<img src="https://img.shields.io/github/release/pc2/sus-compiler.svg">
</a>
<a href="https://crates.io/crates/sus_compiler">
<img src="https://img.shields.io/badge/platforms-Windows%20|%20Linux%20|%20macOS-green.svg">
</a>
<br/>
<a href="https://discord.gg/ZCgzjbrppz">
<img src="https://img.shields.io/discord/1268590533756850206?style=flat</img>"/>
</a>
<a href="https://github.com/pc2/sus-compiler/actions">
<img src="https://github.com/pc2/sus-compiler/workflows/CI/badge.svg?branch=master&event=push">
</a>
</p>

# SUS Language

SUS is a new RTL Hardware Design Language, similar to Verilog or VHDL, that focuses on simplifying the development of high-performance computing FPGA accelerators, without sacrificing any design freedom at the altar of abstraction.
Expand All @@ -19,8 +36,6 @@ To get started with learning SUS, have a look at [this talk](https://www.youtube

For an example project to tinker with, see [VonTum/BitSerialMatrixMultiply](https://github.com/VonTum/BitSerialMatrixMultiply).

To get in touch, feel free to join our [Discord](https://discord.gg/ZCgzjbrppz).

#### Changelog since Talk
- Nothing yet

Expand Down
4 changes: 2 additions & 2 deletions src/dev_aid/lsp/hover_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ pub fn hover(info: LocationInfo, linker: &Linker, file_data: &FileData) -> Vec<M
let decl = md.instructions[*declaration_instruction].unwrap_wire_declaration();
hover.sus_code(format!(
"param {} {}",
template_arg.name,
decl.typ_expr
.to_string(&linker.types, &link_info.template_arguments)
.to_string(&linker.types, &link_info.template_arguments),
template_arg.name
));
hover.gather_hover_infos(md, *declaration_instruction, true);
}
Expand Down
4 changes: 2 additions & 2 deletions tinyTestFile.sus
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ module replicatee #(T, int NUM_REPLS) {
}

module use_replicatee {
replicatee #(NUM_REPLS: 50, T: type bool) a
replicatee #(NUM_REPLS: 50, T: type bool) repl

bool[50] repls = a(true)
bool[50] repls = repl(true)
}

extern module TestExtern {
Expand Down

0 comments on commit 08787d7

Please sign in to comment.