aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorazidar2015-02-24 16:30:40 -0800
committerazidar2015-02-24 16:30:40 -0800
commitd0dddb37c056647e7fed4e9771650ef41f85bae3 (patch)
tree8a72fc312aa8a0338b331454ce66fb9c81b173c6 /README.md
parent2353d640907a7b04477b06a5b3da6b7bbafc448d (diff)
Rewrote README to include installation instructions and stanza justification. Added response to feedback, locatd in notes/feedbackQA*. Use two different mains, one for testing and one for deployment (make build vs make build-deploy).
Diffstat (limited to 'README.md')
-rw-r--r--README.md52
1 files changed, 29 insertions, 23 deletions
diff --git a/README.md b/README.md
index ef050aae..8038a1f0 100644
--- a/README.md
+++ b/README.md
@@ -1,33 +1,39 @@
# firrtl
Flexible Internal Representation for RTL
-General TODO:
- Add instructions to install stanzam
- Run directory structure past Patrick
- Go over .gitignore
- Write makefile for installation
- Add instructions to compile firrtl
-
-Work TODO:
- Reimplement to-working-ir
- Write printer function
- Make compilation of txt file an argument, not hardcoded
-
-Secondary TODO:
- Need stanza version control - perhaps a sub-repo?
-
-Install lit:
- pip install lit
+Description:
+
+This repository contains the compiler for .firrtl files.
+It is currently being developed in stanza, with the end-goal to translate into scala for ease of other people to use.
+This decision was made for multiple reasons:
+ (1) previous development had already been done in stanza
+ (2) most of the passes are relatively language independent
+ (3) stanza is easier to develop in than scala bc less-strict type system
+ (4) as a favor, its useful to develop in stanza to give Patrick some language tips :)
+The hardest part to port will likely be the parser, but we hope to use an scala parser for the port.
+Installation instructions:
-Stanza Installation:
+-- Disclaimer: This project is going through development stages so there is no guarantee anything works.
+
+-- These installations are for a mac. Won't work for a Unix-based system.
+ `
+ ; Clone repository
git clone https://github.com/ucb-bar/firrtl
- cd src/lib
- unzip stanzam.zip
- cd stanzam
- sudo ./stanzam -platform os-x -install /usr/local/bin/stanzam
+
+ ; Stanza installation
+ make install
+ ; Install lit <- this assumes you have pip installed
+ pip install lit
+
+ ; Build firrtl
+ make build
+ ; Run tests
+ make check
+ ; Build & test
+ make
+ `
-