Commit Graph

10 Commits

Author SHA1 Message Date
8196eb3929 Update gitignore to include .locale and vhdl_ls.toml 2025-04-27 18:56:34 +00:00
215e4aa545 Refactors project initialization logic
Simplifies file handling by consolidating template copying logic
into a single loop. Corrects the resolution of the templates
directory path for improved reliability.

Improves maintainability and reduces redundancy in code.
2025-04-27 18:51:46 +00:00
8ed550f451 Defers project loading to execution phase
Removes project loading from command initialization and shifts it to the execution phase for better resource management and initialization performance.

Improves flexibility by ensuring the project is only loaded when needed.
2025-04-27 18:39:58 +00:00
7cf69aa16f Adds project initialization command
All checks were successful
Build Wheels / build (push) Successful in 4m44s
Introduces an `init` command to initialize new HDLBuild projects.
Includes creation of default `.gitignore` and `project.yml` files
from templates if they do not already exist. Updates command
registration to include the new `init` command.
2025-04-27 17:58:11 +00:00
b79b7559f2 Add template files for gitignore and project configuration 2025-04-27 17:57:40 +00:00
c7b2970949 Modularizes CLI commands for maintainability
Refactors CLI command handlers into separate classes under a new `commands` module for improved organization and scalability.

Introduces a `register_commands` function to centralize command registration. Adds version retrieval for better tool identification in CLI descriptions.
2025-04-27 14:16:54 +00:00
f1315dc458 Refactors testbench build and execution logic
Updates `build_testbench` to use a shared tool execution utility, improving maintainability and consistency.
Refactors `run_testbench` to accept project configurations, enabling better customization and handling of tool options.

Enhances modularity and reduces redundancy in the simulation workflow.
2025-04-27 12:02:05 +00:00
ba8cc2ef94 Adds ISim support to tool options
Extends tool configuration to include ISim options by adding a new field to the model and example configuration file. Supports specifying ISim arguments for enhanced simulation workflows.
2025-04-27 12:01:38 +00:00
93e67c0380 Adds testbench support and refines file handling
Introduces a test process with commands to build and run testbenches. Adds utilities for generating simulation project files and resolving testbench sources. Updates file handling logic to support configurable destination directories.

Improves organizational structure of CLI commands and enhances flexibility in managing project artifacts.
2025-04-27 09:43:17 +00:00
28406028c6 Refactors project structure for modularity
Renames and reorganizes modules under a new 'hdlbuild' namespace for improved clarity and maintainability. Updates import paths across the codebase to reflect the new structure.

No logic changes introduced.
2025-04-26 18:52:44 +00:00