Skip to content
Closed

Main #30

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions Extension.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
![Icon](https://raw.githubusercontent.com/swittlich/OneWare.CC-Toolchain/refs/heads/main/Icon.png)
![Icon](https://raw.githubusercontent.com/one-ware/OneWare.CC-Toolchain/refs/heads/main/Icon.png)

Toolchain for CologneChip-FPGAs. This is not an official plugin.
Extension for GateMate™ FPGAs. Helps you get started with GateMate™ faster.

### Get Started

1. Install this Plugin
2. Download toolchain from [CologneChip](https://colognechip.com/mygatemate/) (it's free, but you will need an account).
3. Unzip the toolchain
4. Set Path to toolchain in OneWareStudio Extras -> Settings -> Tools -> CologneChip
5. Set the Toolchain in OneWareStudio to "CologneChip"
6. (optional) Add '*.ccf' files to your project fpgaproj-File

More Information on [GitHub](https://github.com/swittlich/OneWare.CC-Toolchain/blob/main/README.md)
2. Follow the steps to install the hardware support and toolchain
3. Use the newly provided template to get started in seconds
59 changes: 3 additions & 56 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,57 +1,4 @@
[![Test](https://github.com/swittlich/OneWare.CC-Toolchain/actions/workflows/test.yml/badge.svg)](https://github.com/swittlich/OneWare.CC-Toolchain/actions/workflows/test.yml)
[![Publish](https://github.com/swittlich/OneWare.CC-Toolchain/actions/workflows/publish.yml/badge.svg)](https://github.com/swittlich/OneWare.CC-Toolchain/actions/workflows/publish.yml)
[![Test](https://github.com/one-ware/OneWare.CC-Toolchain/actions/workflows/test.yml/badge.svg)](https://github.com/one-ware/OneWare.CC-Toolchain/actions/workflows/test.yml)
[![Publish](https://github.com/one-ware/OneWare.CC-Toolchain/actions/workflows/publish.yml/badge.svg)](https://github.com/one-ware/OneWare.CC-Toolchain/actions/workflows/publish.yml)

# OneWare.CologneChip

An integration of the CologneChip toolchain for OneWare.
The toolchain for the GateMate FPGA boards. For already provided boards have a look at the [GateMate repository](https://github.com/swittlich/OneWare.GateMate).

- [CologneChip](https://colognechip.com/)
- [Toolchain](https://www.colognechip.com/docs/ug1002-toolchain-install-latest.pdf)
- [OneWare](https://one-ware.com)

![image](https://raw.githubusercontent.com/swittlich/OneWare.CC-Toolchain/refs/heads/main/Icon.png)

# Installation Guide

1. Install this Plugin
2. Download toolchain from [CologneChip](https://colognechip.com/mygatemate/) (it's free, but you will need an account).
3. Unzip the toolchain
4. Set Path to toolchain in OneWareStudio Extras -> Settings -> Tools -> CologneChip
5. Set the Toolchain in OneWareStudio to "CologneChip"
6. (optional) Add '*.ccf' files to your project fpgaproj-File

# Special thanks

Thanks to Dr. Michael Gude from CologneChips AG for allowing us to integrate his pictures and logos for this tool chain.

# Known errors and workarounds

## Yosys error code != 0
The synthesis can run, but it can happen that the error code of the synthesis is not equal to 0. The normal behaviour of the program is then not to continue working with the P_R tool. In this case, however, it may be desirable to ignore the error code.

Can be set via Extras -> Setting -> Tools -> CologneChip -> ‘ignore an exit code not equal to 0 after synthesis’

## Ignore UI for HardwarePin Mapping

Currently, OneWare studio cannot always find all signals in and out of the Top Level Entity (see also this [issue on GitHub](https://github.com/one-ware/OneWare/issues/18)).
If this is the case, then the pin mapping cannot be done via the UI, which means that no CCF file can be generated or an existing mapping in an existing ccf file is overwritten with nothing or commented out. To prevent this, the ignoreGUI option has been introduced.
This can be set as follows:
Extras -> Setting -> Tools -> CologneChip -> ‘Ignore UI for HardwarePin Mapping’

## OlimexEVB "fails to open device" on Windows

```txt
empty
fails to open device
JTAG init failed with: std::exception
```
Open On-Chip Debugger (OpenOCD) is used for DirtyJTag. This is not installed by default under windows with the openFPGALoader.

It would be possible to install this tool on your system (untested).
[Here](https://openocd.org/pages/getting-openocd.html) is the link to the tool and [here](https://gnutoolchains.com/arm-eabi/openocd/) to the Windows binaries.
Please note that these are 3rd party binaries.

Or the use of WSL (somewhat tested). For more information have a look at the [WSL guide](https://raw.githubusercontent.com/swittlich/OneWare.CC-Toolchain/refs/heads/main/docs/WSL.md).
Just create a WSL Instance and follow [this MS guide](https://learn.microsoft.com/en-us/windows/wsl/connect-usb) to attach your board to a VM.
Select the "useWSL" setting from the CologneChipLoader settings.
# GateMate™ Quick Start Extension
86 changes: 12 additions & 74 deletions oneware-extension.json
Original file line number Diff line number Diff line change
@@ -1,99 +1,37 @@
{
"category": "Toolchains",
"category": "Tools",
"type": "Plugin",
"name": "CologneChip Extension",
"name": "GateMate™ Quick-Start",
"id": "OneWare.CologneChip",
"description": "CologneChip-Toolchain for OneWare",
"description": "Quick-Start extension to setup Toolchain and Hardware Support for GateMate™ by CologneChip",
"license": "MIT",
"iconUrl": "https://raw.githubusercontent.com/swittlich/OneWare.CC-Toolchain/main/Icon.png",
"urlLaunchIds": "colognechip",
"iconUrl": "https://raw.githubusercontent.com/one-ware/OneWare.CC-Toolchain/main/Icon.png",
"tabs": [
{
"title": "Readme",
"contentUrl": "https://raw.githubusercontent.com/swittlich/OneWare.CC-Toolchain/main/Extension.md"
"contentUrl": "https://raw.githubusercontent.com/one-ware/OneWare.CC-Toolchain/main/Extension.md"
},
{
"title": "License",
"contentUrl": "https://raw.githubusercontent.com/swittlich/OneWare.CC-Toolchain/main/License.md"
"contentUrl": "https://raw.githubusercontent.com/one-ware/OneWare.CC-Toolchain/main/License.md"
},
{
"title": "Release Notes",
"contentUrl": "https://raw.githubusercontent.com/swittlich/OneWare.CC-Toolchain/main/Release.md"
"contentUrl": "https://raw.githubusercontent.com/one-ware/OneWare.CC-Toolchain/main/Release.md"
}
],
"links": [
{
"name": "Github",
"url": "https://github.com/swittlich/OneWare.CC-Toolchain"
"url": "https://github.com/one-ware/OneWare.CC-Toolchain"
}
],
"sourceUrl": "https://github.com/swittlich/OneWare.CC-Toolchain/releases/download",
"sourceUrl": "https://github.com/one-ware/OneWare.CC-Toolchain/releases/download",
"versions": [
{
"version": "0.1",
"targets": [
{
"target": "all"
}
]
},
{
"version": "0.2",
"targets": [
{
"target": "all"
}
]
},
{
"version": "0.3",
"targets": [
{
"target": "all"
}
]
},
{
"version": "0.4",
"targets": [
{
"target": "all"
}
]
},
{
"version": "0.5",
"targets": [
{
"target": "all"
}
]
},
{
"version": "0.6",
"targets": [
{
"target": "all"
}
]
},
{
"version": "0.7.1",
"targets": [
{
"target": "all"
}
]
},
{
"version": "1.0.0",
"targets": [
{
"target": "all"
}
]
},
{
"version": "1.0.1",
"version": "1.0",
"minStudioVersion": "1.0.19",
"targets": [
{
"target": "all"
Expand Down
12 changes: 4 additions & 8 deletions src/OneWare.CologneChip/OneWare.CologneChip.csproj
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Version>1.0.1</Version>
<Version>1.0</Version>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<EnableDynamicLoading>true</EnableDynamicLoading>
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
<SelfContained>false</SelfContained>
</PropertyGroup>

<ItemGroup>
<AvaloniaResource Include="Assets\**\*.*" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="OneWare.Essentials" Version="1.0.10" Private="false" ExcludeAssets="runtime;Native" />
<PackageReference Include="OneWare.UniversalFpgaProjectSystem" Version="1.0.10" Private="false" ExcludeAssets="runtime;Native" />
<PackageReference Include="OneWare.GhdlExtension" Version="1.0.0" Private="true" ExcludeAssets="runtime;Native"/>
<PackageReference Include="OneWare.Essentials" Version="1.0.19" Private="false" ExcludeAssets="runtime;Native" />
<PackageReference Include="OneWare.OssCadSuiteIntegration" Version="1.0.19" Private="false" ExcludeAssets="runtime;Native" />
<PackageReference Include="OneWare.UniversalFpgaProjectSystem" Version="1.0.19" Private="false" ExcludeAssets="runtime;Native" />
</ItemGroup>

<Target Name="GenerateCompatibilityFile" AfterTargets="Build">
Expand Down
Loading
Loading