aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-06doc/libraries_ref_guide/LibDoc: Complex: Add documentation for cmplxConj.HEADmainElvis Dowson
Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
2023-02-06Libraries/Base3-Math: Complex: Add support for complex conjugate function.Elvis Dowson
This commit: - adds support for generate the conjugate of a complex number by negating the complex part, - updates the test suite for testing the complex conjugate function. Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
2023-01-28Language documentation in BSVLang has been updated and incorporatedKen Takusagawa
into this repository.
2023-01-28directly link to the latest release PDFs of the documentationKen Takusagawa
2023-01-28update link and badge for latest releaseKen Takusagawa
2023-01-18Remove uses of sprintf in BluesimJulie Schwartz
and replace with the safer snprintf or asprintf. This resolves warnings (elevated to errors) when building on macOS 13.
2023-01-14Fix typo in the release notesJulie Schwartz
2023-01-14Add release notes for 2023.01Julie Schwartz
2023-01-14Ignore generated files in building the BSV language manualJulie Schwartz
2023-01-11Pretty-print `let`s with surrounding bracesRyan Scott
The pretty-printer for `letseq` and `letrec` was not adding braces around the variables being bound, resulting in malformed pretty-printed output such as `letseq hw = "Hello, World!";; ...`. After adding braces, this now becomes `letseq { hw = "Hello, World!"; };`, which is valid Bluespec code. Fixes #529.
2023-01-10Testsuite: Fix syntax error in `bsc2bsv` commandRyan Scott
There was a missing space in the command that invokes `bsc2bsv`, which resulted in a syntax error when trying to use it. With this patch applied, I am able to run the `b611` test case successfully. Fixes #531.
2022-12-31Resolve CI warnings by updating to newer action versionsJulie Schwartz
Update checkout, cache, download-artifact, and upload-artifact from v2 to v3. There were some uses of upload-artifact@v1, but I can see no reason why we held back to the older version (and the choice wasn't consistent!), so these have been updated to v3. In both the ubuntu and macos jobs for building the docs, there are separate actions for uploading a tarfile vs a directory. Comments were only included on the ubuntu job, so this adds them to the macos job, and also attempts to make the wording more clear.
2022-12-21Remove -fpermissive from BSC's C/C++ compilesJulie Schwartz
Also remove filters for the warning messages (when erroneously using it in C compiler calls) from the testsuite. And remove its use in compiling SystemC designs in the testsuite. This resolves issue 509.
2022-12-20Resolve warning with newer macOS C++ compilerJulie Schwartz
This addresses issue 511 by disabling chained fixups, a new feature in XCode 13 (macOS 11?) that is now on by default in XCode 14 (macOS 12) and which may not work with undefined references when creating shared objects (according to a warning).
2022-12-19export getEvalPositionPu Wang
2022-12-05docs: fix names and indexing for Cntrs library (#516)Aaron Hartwig
Co-authored-by: Julie Schwartz <quark@bluespec.com>
2022-11-01Add support for haskell language server (#510)ThePerfectComputer
with proper hie.yaml generator, unit tests, and documentation
2022-09-25Merge pull request #502 from kenta2/docupdatekenta2
BH manual comment, one more release note
2022-09-25Comment the provenance of the BH Reference Guide.Ken Takusagawa
2022-09-25Document that we are using an upgraded version of GHC for releases.Ken Takusagawa
2022-09-25Merge pull request #501 from kenta2/ghc902kenta2
upgrade Github CI from ghc 9.0.1 to ghc 9.0.2.
2022-09-24upgrade Github CI from ghc 9.0.1 to ghc 9.0.2.Ken Takusagawa
2022-09-24Bugfixes in src/exec/bsc_build_vsim_verilator (is sh script but had b… (#499)Rishiyur S. Nikhil
Verilator vsim build script: Remove bash-isms
2022-09-09Updated ReleaseNotes for 2022.07Rishiyur S. Nikhil
2022-08-12Merge pull request #493 from kenta2/bhmakefilecleanupRishiyur S. Nikhil
remove obsolete parts of doc-building Makefile
2022-08-12Merge pull request #496 from pbing/pbing-patch-1kenta2
Fix typo
2022-08-12Fix typopbing
2022-08-11Merge pull request #495 from kenta2/releasenotes-cikenta2
build the release notes PDF and HTML in CI.
2022-08-11build the release notes PDF and HTML in CI.Ken Takusagawa
2022-08-11remove obsolete parts of doc-building MakefileKen Takusagawa
2022-08-11Merge pull request #492 from kenta2/bh-guidekenta2
Bluespec Haskell guide with fixes for install and release
2022-08-11remove unused makefile rules that were causing warnings:Ken Takusagawa
"ignoring prerequisites on suffix rule definition"
2022-08-11allow 'make full_clean' to work for BH language reference guideKen Takusagawa
2022-08-11build and install the BH language reference guideKen Takusagawa
2022-08-11Added doc/BH_ref_guideRishiyur S. Nikhil
2022-08-11Merge pull request #491 from kenta2/cipdfkenta2
Create a doc zip file which does not have a tarball inside it,
2022-08-11Create a doc zip file which does not have a tarball inside it,Ken Takusagawa
for (somewhat) easier viewing of documents rendered by CI.
2022-07-20GitHub CI: Don't hold back the macOS ccache versionJulie Schwartz
The version retrieved from Homebrew is now at a point that includes a fix for the bug that our testsuite was triggering.
2022-07-20GitHub CI: Add macOS 12 VMJulie Schwartz
2022-07-20GitHub CI: Update the Ubuntu VMsJulie Schwartz
Add 22.04 beta VM to the Ubuntu matrix. Update the linting checks to run on the latest VM, but specify it explicitly as 20.04 rather than ubuntu-latest, so that it doesn't change unexpectedly, only when we explicitly upgrade.
2022-06-18Fix and extend the linguist gitattributesJulie Schwartz
The '*' wildcard only applies to the listed directory. To apply the attribute recursively to subdirectories, it is necessary to use '**'. Tell linguist to ignore the 'doc' directory as documentation and to ignore the testsuite as 'vendored'.
2022-06-08Interface BRAM_PORT is always_readypbing
2022-05-27Fix typo on commentpbing
2022-05-09Add an update BSV Language Reference GuideRishiyur S. Nikhil
BSV Language Reference Guide updated, and brought into bsc repo (detail below) - Historically, the Language Reference Guide included Libraries as one big document, and the LaTeX sources were in an internal repo at Bluespec, Inc. The PDF itself has long been available freely on GitHub at BSVLang. - On open-sourcing, the Library descriptions were extracted into a separate document (see 'libraries_ref_guide/' in this repo). - Now, this commit extracts the language description into 'BSV_ref_guide/'. The document has also been updated: - To reflect the split into lang and lib ref guides. - Several additional improvements/cleanups in the text, including: - Expanded index - Overview of Program Structure (in the Intro) - A Brief History of BH and BSV (a one-page appendix)
2022-04-27Reduce ISyntax comparisons of an expr to itselfJulie Schwartz
ITransform already had a reduction rule for "e == e" (PrimEQ). Add similar rules for PrimULT/PrimULE and PrimSLT/PrimSLE. Add a test case for all twelve comparisions in the evaluator (EQ/LT/LE, in both directions, signed and unsigned).
2022-04-26Update README.mdRishiyur S. Nikhil
2022-04-18BRAM: replace custom bypass FIFO adapter with call to SpecialFIFOs.David Anderson
Updates #464 Signed-off-by: David Anderson <dave@natulte.net>
2022-04-08doc: remove wording that suggests BRAMCore is closed-source.David Anderson
Signed-off-by: David Anderson <dave@natulte.net>
2022-03-09Fix ifc schedule for sized Bypass FIFOs and add testsJulie Schwartz
The notEmpty/notFull methods were conflict-free with enq/deq, which meant that they could be called in any order, but the values are only valid when called before enq/deq (for notFull) or after enq before deq (for notEmpty). The test for Bypass FIFO schedules was exempting the sized version because it has a dedicated test, but that test was not catching this issue.
2022-03-09Fix CONFIG_SHELL example in testsuite READMEJulie Schwartz
The CONFIG_SHELL variable should be set to an absolute path, in case some tool (such as the GHC installation) creates a shell script using this value after the shebang. So our example should show '/bin/sh' and not 'sh'.