Approxy

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

README

Approxy

Golang tool generating VHDL multipliers using approximate computing.

Go Build Go Report Card Go Reference Coverage Status Approxy Workflow

Requirements

  • Go 1.17
  • "vivado", "xvhdl", "xelab" and "xsim" within $PATH
  • Tested for:
    • Vivado v2021.1
    • Linux (not tested for Windows, it probably work)
    • Requires "vivado", "xvhdl", "xelab" and "xsim" within $PATH

How to use

  • Clone repository to local computer
  • Edit main.go
  • Build by running in main folder:
  • go build

  • Run by using:
  • ./Approxy

By default Approxy will make two folders:
  • OutputPath or /output, is used as a temp folder to output VHDL and TCL files, and is used to output Vivado logs
  • ReportPath or /report, is used to output JSON reports with final result data

⚠ Warning:

By default Approxy clears the OutputPath folder before executing the main() function. Make sure to back up useful files (VHDL, TCL logs, Vivado reports, etc.) from the previous execution, before running 'Approxy' again. Clearing functionality can naturally be removed in the init() function, but might interfere with Vivado synthesis.

Recreating VHDL models

Read Approxy Github Wiki: https://github.com/RickvanLoo/Approxy/wiki

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL