remove XdcCreateClockAnnotation, XdcIOStandardAnnotation and XdcLocationAnnotation

This commit is contained in:
Tobias Alexandra Platen 2026-01-21 20:13:06 +01:00
parent ad5e7e29e9
commit 9da113b53e
3 changed files with 2 additions and 19 deletions

View file

@ -16,23 +16,6 @@ pub mod orangecrab;
pub mod primitives;
pub mod yosys_nextpnr;
/* must be removed later */
#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug)]
pub struct XdcIOStandardAnnotation {
pub value: Interned<str>,
}
#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug)]
pub struct XdcLocationAnnotation {
pub location: Interned<str>,
}
#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug)]
pub struct XdcCreateClockAnnotation {
/// clock period in nanoseconds
pub period: NotNan<f64>,
}
/* fixme make_annotation_enum! {
#[non_exhaustive]
pub enum LatticeAnnotation {

View file

@ -11,7 +11,7 @@ use crate::{
},
prelude::*,
vendor::lattice::{
Device, XdcCreateClockAnnotation, XdcIOStandardAnnotation, XdcLocationAnnotation,
Device,
primitives,
},
};

View file

@ -24,7 +24,7 @@ use crate::{
source_location::SourceLocation,
util::{HashSet, job_server::AcquiredJob},
vendor::lattice::{
Device, XdcCreateClockAnnotation, XdcIOStandardAnnotation, XdcLocationAnnotation,
Device,
/* fixme LatticeAnnotation,*/ LatticeArgs,
},
};