Commit Graph

16 Commits

Author SHA1 Message Date
54949f43c0 Update Makefile to v1.1.5 and create REPORT_DIR
Bumped Makefile version to 1.1.5 and ensured REPORT_DIR is created before generating synthesis reports, addressing the potential issue where missing report directory could disrupt the build process.
2024-04-13 14:53:50 +02:00
9e1255568e Correct path for Timing Report echo in Makefile
- Modified the echo command in the trace target to display the correct path of the Timing Report within the REPORT_DIR, enhancing accuracy in log messages.
2024-03-25 19:23:24 +01:00
63140660a3 Update .gitignore and Makefile for reports directory and version increment
- Added "reports/" directory to .gitignore to exclude it from version control.
- Incremented Makefile version from 1.1.3 to 1.1.4.
- Introduced REPORT_DIR variable in Makefile to manage report files.
- Modified ISIM_CMD in Makefile to remove specific commands, simplifying the simulation process.
- Enhanced the clean target in Makefile to also remove the REPORT_DIR, ensuring a clean state for new builds.
- Updated project build process in Makefile to create and use REPORT_DIR for storing synthesis, map, place and route, pinout, and timing reports, improving organization and accessibility of build reports.
2024-03-25 19:20:49 +01:00
Max P
c661c3f453 Feature/add testbench simulation support (#2)
* Update Makefile for ISIM test enhancements and version bump

**This changes based on [Wayne Booth](https://github.com/WayneBooth/Xilinx-ISE-Makefile/tree/master)

Introduced support for running and building individual ISIM testbenches to streamline testing of VHDL and Verilog modules. The update modifies the Makefile to include options for a graphical user interface and command extraction from testbench files. Simplified the `test` target into `buildtest` and `runtest` targets for better modularity and clearer separation of the build and execution phases. Also incremented the Makefile version to reflect these significant changes to the testing workflow.

* Update Makefile to version 1.1.1

* Updated Makefile for consistent build output paths and dynamic project references

Enhanced the Makefile to use a centralized `BUILD_DIR` variable for executable paths, increasing consistency across the build process. Adjusted the project reference generation to dynamically pair test files with their respective libraries, ensuring a more accurate and maintainable build configuration. This change streamlines the build workflow and mitigates potential errors due to path mismatches or hard-coded library links.

* Add copy feature

* Add a comprehensive sample configuration file for the project

This commit adds a sample configuration file for the project. It includes main settings such as the project name, target device, and path to the Xilinx ISE installation. It also provides options for source files, test files, ISE executable settings, and programmer settings. This sample configuration file serves as a template for users to customize their project settings.
2024-03-24 21:30:17 +01:00
796bfaf493 Update Makefile to version 1.0.3 with revised build paths
Improved the build directory management by introducing a new variable `BUILD_DIR`, set to `working`, for a more flexible directory handling. This change ensures that all build artifacts are now generated in a designated directory, which can be easily modified. Adjusted relative paths reference this new directory, ensuring compatibility with the updated structure. The version bump to 1.0.3 reflects these enhancements and potential future improvements in the build process.
2024-03-10 16:05:19 +01:00
5e8553d8af Update Makefile version and adjust project config path 2024-03-10 15:38:58 +01:00
5897ffa953 Update Makefile to v1.0.1 and fix whitespace
- Upgraded Makefile to version 1.0.1, indicating minor revisions or fixes.
- Corrected whitespace inconsistency in MAP_OPTS definition for cleaner code formatting.
- Added reference to the GitHub repository in the header comments for better discoverability of the source.
2024-03-09 00:06:04 +01:00
4893f9cf7c Enhanced build config flexibility & updated docs
Refined the Makefile to accommodate pre-programming commands with `PROGRAMMER_PRE` variable and introduced a specific index for flashing with Digilent devices using `DJTG_FLASH_INDEX`. This allows for more flexible configuration pre-programming hooks and coherent handling of different indices for programming and flashing operations.

The README has been updated for clarity and to reflect new options. Simplified the installation instructions for GNU Make, enriched the project configuration section with default values for build options, introduced library naming for Verilog sources, and added a section detailing console output for easy report access post-build. Additionally, documented the new `make flash` target for Digilent programmers and the placeholder for `PROGRAMMER_PRE`.
2024-03-08 19:22:42 +01:00
ba0abd1f2c Introduced Makefile versioning system 2024-03-08 18:51:55 +01:00
42c4068241 Enhanced Place-and-Route and Tracing Verbosity
Updated Makefile to include detailed placement and routing by adding the `-detail` flag to PAR_OPTS. Also increased verbosity levels for tracing by setting TRACE_OPTS to `-v 3 -n 3`, providing more comprehensive diagnostic information during builds.
2024-03-08 18:47:09 +01:00
112fef0477 Enhanced Makefile to support flexible source paths and libs
Refactored the Makefile to allow for dynamic library and filepath resolutions for VHDL and Verilog sources, promoting a more modular project structure. Removed hardcoded library names and filepaths, and replaced them with a mechanism that processes source file definitions, supporting a colon-separated format for specifying libraries and paths.

- Simplified RUN command echo statements for clarity.
- Established functions to process VHDL and Verilog sources, handling omitted library paths and defaults to 'work'.
- Updated build rules to utilize new lists of processed source paths and libraries.
- Included generation of detailed synthesis, map, PAR, pinout, and timing summary reports after relevant build steps for enhanced build insight.
- Modified programming commands to ensure automation without manual intervention by using `sudo` and automating confirmation prompts where applicable.
- Added a new 'flash' target for the Digilent programmer, enabling FPGA flash memory programming.
2024-03-08 18:45:08 +01:00
Dusk
af0af658c0 Various minor fixes
* Re-add missing line in ISim invocation

* Fix documentation for Digilent mode (thanks, @keesj)

* Fix iMPACT invocation (thanks, @acid-maker)

Closes #1
2017-09-13 16:45:29 -07:00
Dusk
d4f1c89e16 canonical XILINX path; initial testbench support 2016-05-24 16:07:06 -07:00
Dusk
2654cb829e Major rework - separate config from Makefile; add README 2016-05-14 23:56:36 -07:00
Dusk
f99254bdc2 simplify! no more Perl requirement 2016-01-09 16:10:13 -08:00
Dusk
d6e7844cf4 initial commit 2015-06-24 10:26:44 -07:00